File tree Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Expand file tree Collapse file tree 2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 23
23
<RunAOTCompilation>$RUN_AOT$</RunAOTCompilation>
24
24
<PublishTrimmed>$(RunAOTCompilation)</PublishTrimmed>
25
25
<WasmGenerateRunV8Script>true</WasmGenerateRunV8Script>
26
+ <ErrorOnDuplicatePublishOutputFiles>false</ErrorOnDuplicatePublishOutputFiles>
26
27
<ValidateExecutableReferencesMatchSelfContained>false</ValidateExecutableReferencesMatchSelfContained>
27
28
<EnableDefaultWasmAssembliesToBundle>false</EnableDefaultWasmAssembliesToBundle>
28
29
<StartupObject>BenchmarkDotNet.Autogenerated.UniqueProgramName</StartupObject>
Original file line number Diff line number Diff line change 2
2
using System . IO ;
3
3
using System . Text ;
4
4
using BenchmarkDotNet . Code ;
5
+ using BenchmarkDotNet . Extensions ;
5
6
using BenchmarkDotNet . Loggers ;
6
7
using BenchmarkDotNet . Portability ;
7
8
using BenchmarkDotNet . Running ;
@@ -103,6 +104,7 @@ [PublicAPI] protected virtual void GenerateProject(BuildPartition buildPartition
103
104
[ PublicAPI ] protected virtual void GenerateAppConfig ( BuildPartition buildPartition , ArtifactsPaths artifactsPaths )
104
105
{
105
106
string sourcePath = buildPartition . AssemblyLocation + ".config" ;
107
+ artifactsPaths . AppConfigPath . EnsureFolderExists ( ) ;
106
108
107
109
using ( var source = File . Exists ( sourcePath ) ? new StreamReader ( File . OpenRead ( sourcePath ) ) : TextReader . Null )
108
110
using ( var destination = new StreamWriter ( File . Create ( artifactsPaths . AppConfigPath ) , Encoding . UTF8 ) )
You can’t perform that action at this time.
0 commit comments