> For the complete documentation index, see [llms.txt](https://til.cazzulino.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://til.cazzulino.com/msbuild/how-to-build-project-when-content-files-change.md).

# How to build project when content files change

Visual Studio will typically just report the project is up-to-date and doesn't need to be built if you just changed a `Content` or `None` item. If you want it to consider those file types to also trigger a build, just add the relevant items as `UpToDateCheckInput`:

```
  <ItemGroup>
    <UpToDateCheckInput Include="@(Content);@(None)" />
  </ItemGroup>
```
