Skip to content

Commit 2b76cc2

Browse files
committed
More TreatWarningsAsErrors=false
1 parent 8662fa2 commit 2b76cc2

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Runner/Jobs/BenchmarkLibrariesJob.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,16 @@ private async Task CloneDotnetPerformanceAndSetupToolsAsync()
121121
File.WriteAllText(Path, source);
122122
}
123123

124+
{
125+
const string Path = "performance/src/benchmarks/micro/MicroBenchmarks.csproj";
126+
string source = File.ReadAllText(Path);
127+
source = source.Replace(
128+
"<OutputType>Exe</OutputType>",
129+
"<TreatWarningsAsErrors>false</TreatWarningsAsErrors>\r\n <OutputType>Exe</OutputType>",
130+
StringComparison.OrdinalIgnoreCase);
131+
File.WriteAllText(Path, source);
132+
}
133+
124134
if (TryGetFlag("parallel"))
125135
{
126136
{

0 commit comments

Comments
 (0)