Skip to content

Commit 190d078

Browse files
authored
Fix for issue NETSDK1150 (#1981)
1 parent 804ed97 commit 190d078

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/BenchmarkDotNet/Templates/CsProj.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
<!-- we set LangVersion after $COPIEDSETTINGS$ which might contain LangVersion copied from the benchmarks project -->
2525
<LangVersion Condition="'$(LangVersion)' == '' Or ($([System.Char]::IsDigit('$(LangVersion)', 0)) And '$(LangVersion)' &lt; '7.3')">latest</LangVersion>
2626
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
27+
<!-- fix for NETSDK1150: https://docs.microsoft.com/en-us/dotnet/core/compatibility/sdk/5.0/referencing-executable-generates-error -->
28+
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
2729
</PropertyGroup>
2830

2931
<ItemGroup>

0 commit comments

Comments
 (0)