Skip to content

Commit 14f9cf1

Browse files
authored
don't emit debug symbols for samples and test projects as it breaks arm64 windows build due to Roslyn bug (#2029)
dotnet/roslyn#59421
1 parent 72fce9a commit 14f9cf1

File tree

4 files changed

+1
-4
lines changed

4 files changed

+1
-4
lines changed

samples/BenchmarkDotNet.Samples/BenchmarkDotNet.Samples.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<PackageId>BenchmarkDotNet.Samples</PackageId>
1010
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1111
<PlatformTarget>AnyCPU</PlatformTarget>
12-
<DebugType>pdbonly</DebugType>
1312
<DebugSymbols>true</DebugSymbols>
1413
<NoWarn>$(NoWarn);CA1018;CA5351</NoWarn>
1514
</PropertyGroup>

src/BenchmarkDotNet/Templates/CsProj.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
<OutputType>Exe</OutputType>
1212
<OutputPath>bin\$CONFIGURATIONNAME$</OutputPath>
1313
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
14-
<!-- disabled due to https://github.com/dotnet/roslyn/issues/59240 -->
14+
<!-- disabled due to https://github.com/dotnet/roslyn/issues/59421 -->
1515
<DebugSymbols>false</DebugSymbols>
1616
<UseSharedCompilation>false</UseSharedCompilation>
1717
<CodeAnalysisRuleSet></CodeAnalysisRuleSet>

tests/BenchmarkDotNet.IntegrationTests.ManualRunning/BenchmarkDotNet.IntegrationTests.ManualRunning.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
1010
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1111
<PlatformTarget>AnyCPU</PlatformTarget>
12-
<DebugType>pdbonly</DebugType>
1312
<DebugSymbols>true</DebugSymbols>
1413
</PropertyGroup>
1514
<ItemGroup>

tests/BenchmarkDotNet.IntegrationTests/BenchmarkDotNet.IntegrationTests.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
1010
<GenerateDocumentationFile>false</GenerateDocumentationFile>
1111
<PlatformTarget>AnyCPU</PlatformTarget>
12-
<DebugType>pdbonly</DebugType>
1312
<DebugSymbols>true</DebugSymbols>
1413
<NoWarn>$(NoWarn);CA2007</NoWarn>
1514
<ServerGarbageCollection>true</ServerGarbageCollection>

0 commit comments

Comments
 (0)