Skip to content

Commit 43e6d92

Browse files
authored
Merge pull request #3070 from MicrosoftDocs/repo_sync_working_branch
Confirm merge from repo_sync_working_branch to master to sync with https://github.com/MicrosoftDocs/visualstudio-docs (branch master)
2 parents 2944eff + d816e49 commit 43e6d92

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/msbuild/customize-your-build.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,11 @@ Prior to MSBuild version 15, if you wanted to provide a new, custom property to
2828

2929
However, now you can add a new property to every project in one step by defining it in a single file called *Directory.Build.props* in the root folder that contains your source. When MSBuild runs, *Microsoft.Common.props* searches your directory structure for the *Directory.Build.props* file (and *Microsoft.Common.targets* looks for *Directory.Build.targets*). If it finds one, it imports the property. *Directory.Build.props* is a user-defined file that provides customizations to projects under a directory.
3030

31+
> [!NOTE]
32+
> Linux-based file systems are case-sensitive. Make sure the casing of the Directory.Build.props filename matches exactly, or it won't be detected during the build process.
33+
>
34+
> See [this GitHub issue](https://github.com/dotnet/core/issues/1991#issue-368441031) for more information.
35+
3136
### Directory.Build.props example
3237

3338
For example, if you wanted to enable all of your projects to access the new Roslyn **/deterministic** feature (which is exposed in the Roslyn `CoreCompile` target by the property `$(Deterministic)`), you could do the following.

0 commit comments

Comments
 (0)