Skip to content

Commit

Permalink
Fix possible mismatch between $(IsTargetingNetFramework) and TFM
Browse files Browse the repository at this point in the history
just in case
  • Loading branch information
YoshiRulz committed Jun 6, 2024
1 parent 4e6559a commit 7691f2f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/MainSlnCommon.props
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
<Project>
<PropertyGroup Condition=" '$(ExecProjTargetFrameworkOverride)' != '' AND '$(TargetFramework)' == 'net48' ">
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<TargetFramework>$(ExecProjTargetFrameworkOverride)</TargetFramework>
</PropertyGroup>
<Import Project="../Common.props" />
<PropertyGroup>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
Expand All @@ -13,10 +17,6 @@
<PropertyGroup Condition=" '$(MachineRunAnalyzersDuringBuild)' == '' ">
<RunAnalyzersDuringBuild>false</RunAnalyzersDuringBuild>
</PropertyGroup>
<PropertyGroup Condition=" '$(ExecProjTargetFrameworkOverride)' != '' AND '$(TargetFramework)' == 'net48' ">
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
<TargetFramework>$(ExecProjTargetFrameworkOverride)</TargetFramework>
</PropertyGroup>
<ItemGroup>
<Analyzer Include="$(MSBuildProjectDirectory)/../../References/BizHawk.SrcGen.ReflectionCache.dll" />
</ItemGroup>
Expand Down

0 comments on commit 7691f2f

Please sign in to comment.