-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathDirectory.Build.props
More file actions
44 lines (37 loc) · 1.63 KB
/
Copy pathDirectory.Build.props
File metadata and controls
44 lines (37 loc) · 1.63 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Major>0</Major>
<Minor>3</Minor>
<Build>3</Build>
<Revision>0</Revision>
</PropertyGroup>
<Import Project=".\Build\VersionInfo.props" />
<!-- Default Properties shared by All Projects, for both Debug and Release Configurations -->
<PropertyGroup>
<!-- Ensure SolutionDir is set even when building individual projects -->
<SolutionDir Condition="'$(SolutionDir)' == ''">$(MSBuildThisFileDirectory)</SolutionDir>
<TargetFrameworks>net472;net481;net9.0;net10.0</TargetFrameworks>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<StyleCopTreatErrorsAsWarnings>true</StyleCopTreatErrorsAsWarnings>
<WarningLevel>4</WarningLevel>
<ErrorReport>prompt</ErrorReport>
<Platform>AnyCPU</Platform>
<Configuration>Debug</Configuration>
<NoWarn>1701;1702;NU1301;NU1902;NU1903;NU1503</NoWarn>
</PropertyGroup>
<!-- Properties shared by All Projects, for Debug Configuration -->
<PropertyGroup Condition="'$(Configuration)' == 'Debug'">
<DebugSymbols>true</DebugSymbols>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<DebugType>full</DebugType>
<RunCodeAnalysis>false</RunCodeAnalysis>
</PropertyGroup>
<!-- Properties shared by All Projects, for Release Configuration -->
<PropertyGroup Condition="'$(Configuration)' == 'Release'">
<DefineConstants>CODE_ANALYSIS;TRACE</DefineConstants>
<Optimize>true</Optimize>
<DebugType>pdbonly</DebugType>
<!--RunCodeAnalysis>true</RunCodeAnalysis-->
</PropertyGroup>
</Project>