Fix possible mismatch between `$(IsTargetingNetFramework)` and TFM
just in case
This commit is contained in:
parent
4e6559af39
commit
7691f2f724
|
@ -1,4 +1,8 @@
|
||||||
<Project>
|
<Project>
|
||||||
|
<PropertyGroup Condition=" '$(ExecProjTargetFrameworkOverride)' != '' AND '$(TargetFramework)' == 'net48' ">
|
||||||
|
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
|
||||||
|
<TargetFramework>$(ExecProjTargetFrameworkOverride)</TargetFramework>
|
||||||
|
</PropertyGroup>
|
||||||
<Import Project="../Common.props" />
|
<Import Project="../Common.props" />
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
||||||
|
@ -13,10 +17,6 @@
|
||||||
<PropertyGroup Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">
|
<PropertyGroup Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">
|
||||||
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
|
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup Condition=" '$(ExecProjTargetFrameworkOverride)' != '' AND '$(TargetFramework)' == 'net48' ">
|
|
||||||
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
|
|
||||||
<TargetFramework>$(ExecProjTargetFrameworkOverride)</TargetFramework>
|
|
||||||
</PropertyGroup>
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Analyzer Include="$(MSBuildProjectDirectory)/../../References/BizHawk.SrcGen.ReflectionCache.dll" />
|
<Analyzer Include="$(MSBuildProjectDirectory)/../../References/BizHawk.SrcGen.ReflectionCache.dll" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
Loading…
Reference in New Issue