-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
24 lines (21 loc) · 1.22 KB
/
Copy pathDirectory.Build.props
File metadata and controls
24 lines (21 loc) · 1.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<Project>
<PropertyGroup>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<AnalysisLevel>latest</AnalysisLevel>
<EnableNETAnalyzers>true</EnableNETAnalyzers>
<!--
Keep compiled binaries outside project folders while leaving intermediate obj folders
on the SDK default path. WPF markup compilation creates temporary projects during
build; forcing a centralized obj path can make those temporary projects miss their
restore assets on .NET SDK 8.x.
-->
<ArtifactsRoot>$(MSBuildThisFileDirectory).artifacts/</ArtifactsRoot>
<BaseOutputPath>$(ArtifactsRoot)bin/$(MSBuildProjectName)/</BaseOutputPath>
<DefaultItemExcludes>$(DefaultItemExcludes);bin/**;obj/**;$(MSBuildProjectDirectory)/bin/**;$(MSBuildProjectDirectory)/obj/**;.artifacts/**;artifacts/**;out/**;publish/**;release/**</DefaultItemExcludes>
</PropertyGroup>
<ItemGroup>
<Compile Remove="bin/**/*.cs;obj/**/*.cs;.artifacts/**/*.cs;artifacts/**/*.cs;out/**/*.cs;publish/**/*.cs;release/**/*.cs" />
<EmbeddedResource Remove="bin/**;obj/**;.artifacts/**;artifacts/**;out/**;publish/**;release/**" />
<None Remove="bin/**;obj/**;.artifacts/**;artifacts/**;out/**;publish/**;release/**" />
</ItemGroup>
</Project>