Skip to content

Commit

Permalink
don't emit debug symbols for samples and test projects as it breaks a…
Browse files Browse the repository at this point in the history
…rm64 windows build due to Roslyn bug (#2029)

dotnet/roslyn#59421
  • Loading branch information
adamsitnik committed Jul 1, 2022
1 parent 72fce9a commit 14f9cf1
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<PackageId>BenchmarkDotNet.Samples</PackageId>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
<NoWarn>$(NoWarn);CA1018;CA5351</NoWarn>
</PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/BenchmarkDotNet/Templates/CsProj.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<OutputType>Exe</OutputType>
<OutputPath>bin\$CONFIGURATIONNAME$</OutputPath>
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
<!-- disabled due to https://github.com/dotnet/roslyn/issues/59240 -->
<!-- disabled due to https://github.com/dotnet/roslyn/issues/59421 -->
<DebugSymbols>false</DebugSymbols>
<UseSharedCompilation>false</UseSharedCompilation>
<CodeAnalysisRuleSet></CodeAnalysisRuleSet>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
</PropertyGroup>
<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
<GenerateDocumentationFile>false</GenerateDocumentationFile>
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<DebugSymbols>true</DebugSymbols>
<NoWarn>$(NoWarn);CA2007</NoWarn>
<ServerGarbageCollection>true</ServerGarbageCollection>
Expand Down

0 comments on commit 14f9cf1

Please sign in to comment.