40 lines
1.8 KiB
XML
40 lines
1.8 KiB
XML
<Project>
|
|
<PropertyGroup>
|
|
<AnalysisLevel>5</AnalysisLevel>
|
|
<ContinuousIntegrationBuild Condition=" '$(GITLAB_CI)' != '' Or '$(APPVEYOR)' != '' ">true</ContinuousIntegrationBuild>
|
|
<EnableNETAnalyzers>true</EnableNETAnalyzers>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
|
|
<LangVersion>10.0</LangVersion>
|
|
<Nullable>enable</Nullable>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<RunAnalyzersDuringBuild Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">false</RunAnalyzersDuringBuild>
|
|
<RunCodeAnalysis>false</RunCodeAnalysis>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>portable</DebugType>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<Optimize>false</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
|
|
<DebugSymbols>false</DebugSymbols>
|
|
<DebugType>portable</DebugType>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(MachineExtraCompilationFlag)' != '' ">
|
|
<DefineConstants>$(DefineConstants);$(MachineExtraCompilationFlag)</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<PackageReference Include="Nullable" Version="1.3.0" PrivateAssets="all" />
|
|
</ItemGroup>
|
|
<PropertyGroup Condition=" $(IsTargetingNetFramework) ">
|
|
<GenerateResourceUsePreserializedResources>true</GenerateResourceUsePreserializedResources>
|
|
</PropertyGroup>
|
|
<ItemGroup Condition=" $(IsTargetingNetFramework) ">
|
|
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.2" PrivateAssets="all" />
|
|
<PackageReference Include="System.Resources.Extensions" Version="5.0.0" />
|
|
</ItemGroup>
|
|
</Project>
|