Skip to content

Commit 621face

Browse files
committed
Use <TargetFrameworks> property in templates.
1 parent ce206fb commit 621face

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

src/BenchmarkDotNet/Templates/CsProj.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<ImportDirectoryBuildProps>false</ImportDirectoryBuildProps>
55
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
66
<AssemblyTitle>$PROGRAMNAME$</AssemblyTitle>
7-
<TargetFramework>$TFM$</TargetFramework>
7+
<TargetFrameworks>$TFM$</TargetFrameworks>
88
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
99
<PlatformTarget>$PLATFORM$</PlatformTarget>
1010
<AssemblyName>$PROGRAMNAME$</AssemblyName>

src/BenchmarkDotNet/Templates/MonoAOTLLVMCsProj.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<PropertyGroup>
1111
<OutputType>Exe</OutputType>
12-
<TargetFramework>$TFM$</TargetFramework>
12+
<TargetFrameworks>$TFM$</TargetFrameworks>
1313
<MicrosoftNetCoreAppRuntimePackDir>$RUNTIMEPACK$</MicrosoftNetCoreAppRuntimePackDir>
1414
<RuntimeIdentifier>$RUNTIMEIDENTIFIER$</RuntimeIdentifier>
1515
<EnableTargetingPackDownload>false</EnableTargetingPackDownload>

src/BenchmarkDotNet/Templates/WasmCsProj.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<OutputType>Exe</OutputType>
1414
<RuntimeConfig>Release</RuntimeConfig>
1515
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
16-
<TargetFramework>$TFM$</TargetFramework>
16+
<TargetFrameworks>$TFM$</TargetFrameworks>
1717
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
1818
<AppDir>$(PublishDir)</AppDir>
1919
<AssemblyName>$PROGRAMNAME$</AssemblyName>

src/BenchmarkDotNet/Toolchains/NativeAot/Generator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ private string GenerateProjectForNuGetBuild(string projectFilePath, BuildPartiti
129129
<ImportDirectoryBuildProps>false</ImportDirectoryBuildProps>
130130
<ImportDirectoryBuildTargets>false</ImportDirectoryBuildTargets>
131131
<OutputType>Exe</OutputType>
132-
<TargetFramework>{TargetFrameworkMoniker}</TargetFramework>
132+
<TargetFrameworks>{TargetFrameworkMoniker}</TargetFrameworks>
133133
<RuntimeIdentifier>{runtimeIdentifier}</RuntimeIdentifier>
134134
<RuntimeFrameworkVersion>{RuntimeFrameworkVersion}</RuntimeFrameworkVersion>
135135
<AssemblyName>{artifactsPaths.ProgramName}</AssemblyName>

0 commit comments

Comments
 (0)