|
|
@@ -1,7 +1,6 @@
|
|
|
<Project Sdk="Microsoft.NET.Sdk">
|
|
|
<PropertyGroup>
|
|
|
- <!-- Keep this project at net6.0 until there is an SDK with net7.0 runtimes -->
|
|
|
- <TargetFrameworks>net6.0</TargetFrameworks>
|
|
|
+ <TargetFrameworks>$(DefaultNetCoreTargetFramework)</TargetFrameworks>
|
|
|
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">$(TargetFrameworks);net472</TargetFrameworks>
|
|
|
<DefineConstants Condition="'$(TargetFramework)' == 'net472'">$(DefineConstants);BUILD_MSI_TASKS</DefineConstants>
|
|
|
<Optimize>false</Optimize>
|
|
|
@@ -20,8 +19,7 @@
|
|
|
<PackageReference Include="Microsoft.Extensions.DependencyModel" Version="$(MicrosoftExtensionsDependencyModelVersion)" />
|
|
|
</ItemGroup>
|
|
|
|
|
|
- <!-- Change this back to '$(DefaultNetCoreTargetFramework)' once we have an SDK with net7.0 runtimes -->
|
|
|
- <ItemGroup Condition="'$(TargetFramework)' == 'net6.0'">
|
|
|
+ <ItemGroup Condition="'$(TargetFramework)' == '$(DefaultNetCoreTargetFramework)'">
|
|
|
<PackageReference Include="Microsoft.Build.Framework" Version="$(MicrosoftBuildFrameworkVersion)" />
|
|
|
<PackageReference Include="Microsoft.Build.Tasks.Core" Version="$(MicrosoftBuildTaskCoreVersion)" />
|
|
|
<PackageReference Include="Microsoft.Build.Utilities.Core" Version="$(MicrosoftBuildUtilitiesCoreVersion)" />
|