Allow C# 10 in satellite projects, enable Analyzers on ext. tools
This commit is contained in:
parent
0405e6399d
commit
6f372820a7
|
@ -6,7 +6,7 @@
|
|||
<ErrorReport>prompt</ErrorReport>
|
||||
<Features>strict</Features>
|
||||
<IsTargetingNetFramework>$(TargetFramework.StartsWith("net4"))</IsTargetingNetFramework>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<LangVersion>10.0</LangVersion>
|
||||
<Nullable>enable</Nullable>
|
||||
<PlatformTarget>AnyCPU</PlatformTarget>
|
||||
<RunAnalyzersDuringBuild Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">false</RunAnalyzersDuringBuild>
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
<PropertyGroup>
|
||||
<CodeAnalysisRuleSet>$(ProjectDir)../../Common.ruleset</CodeAnalysisRuleSet>
|
||||
<OutputPath>$(ProjectDir)bin/$(Configuration)/</OutputPath>
|
||||
<RunAnalyzersDuringBuild>true</RunAnalyzersDuringBuild>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<AdditionalFiles Include="$(ProjectDir)../../.stylecop.json" />
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<Import Project="../../Common.props" />
|
||||
<PropertyGroup>
|
||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems><!-- no source files; only runs below target to write ../BizHawk.Common/VersionInfo.gen.cs -->
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<NoWarn>$(NoWarn);CS2008</NoWarn>
|
||||
</PropertyGroup>
|
||||
<Target Name="PreBuild" AfterTargets="PreBuildEvent">
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
<CodeAnalysisRuleSet>$(ProjectDir)../../Common.ruleset</CodeAnalysisRuleSet>
|
||||
<DefineConstants>$(DefineConstants);AVI_SUPPORT</DefineConstants>
|
||||
<DocumentationFile>$(ProjectDir)bin/doc_comments.xml</DocumentationFile>
|
||||
<LangVersion>9.0</LangVersion>
|
||||
<MSBuildWarningsAsMessages>NU1702</MSBuildWarningsAsMessages>
|
||||
<NoWarn>CS1573;CS1591</NoWarn>
|
||||
<OutputPath>$(ProjectDir)../../output/dll</OutputPath>
|
||||
|
|
Loading…
Reference in New Issue