Update the installer target framework net6.0 (#9069)
- Remove unneeded package for tool install - Install 5.0.0 and 3.1.0 runtime (rather than a preview 3.1.0 runtime)
This commit is contained in:
parent
efac3f2569
commit
32d179d680
4 changed files with 7 additions and 9 deletions
|
@ -1,6 +1,6 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netcoreapp5.0</TargetFramework>
|
||||
<TargetFramework>$(CoreSdkTargetFramework)</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
|
|
|
@ -72,11 +72,11 @@
|
|||
<Supports1xRuntimes>false</Supports1xRuntimes>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(OsReleaseContents.Contains('NAME=%22openSUSE Leap%22'))">
|
||||
<PropertyGroup Condition="$(OsReleaseContents.Contains('NAME=%22openSUSE%20Leap%22'))">
|
||||
<Supports1xRuntimes>false</Supports1xRuntimes>
|
||||
</PropertyGroup>
|
||||
|
||||
<PropertyGroup Condition="$(OsReleaseContents.Contains('NAME=%22Alpine Linux%22'))">
|
||||
<PropertyGroup Condition="$(OsReleaseContents.Contains('NAME=%22Alpine%20Linux%22'))">
|
||||
<Supports1xRuntimes>false</Supports1xRuntimes>
|
||||
</PropertyGroup>
|
||||
|
||||
|
@ -93,7 +93,8 @@
|
|||
<RuntimeVersionToInstall Include="2.1.0" />
|
||||
<RuntimeVersionToInstall Include="2.2.5" />
|
||||
<RuntimeVersionToInstall Include="3.0.0" />
|
||||
<RuntimeVersionToInstall Include="3.1.0-preview1.19506.1" />
|
||||
<RuntimeVersionToInstall Include="3.1.0" />
|
||||
<RuntimeVersionToInstall Include="5.0.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Target>
|
||||
|
@ -224,12 +225,9 @@
|
|||
|
||||
<PropertyGroup>
|
||||
<SdkTestPackageVersion>$(MicrosoftNETSdkPackageVersion)</SdkTestPackageVersion>
|
||||
<SdkTestPackageFeed>https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json</SdkTestPackageFeed>
|
||||
|
||||
<InstallToolCommand>dotnet tool install --local $(ToolCommandName)</InstallToolCommand>
|
||||
|
||||
<InstallToolCommand>$(InstallToolCommand) --version $(SdkTestPackageVersion)</InstallToolCommand>
|
||||
<InstallToolCommand>$(InstallToolCommand) --add-source $(SdkTestPackageFeed)</InstallToolCommand>
|
||||
</PropertyGroup>
|
||||
|
||||
<Exec Command="$(ToolRunPrefix)$(InstallToolCommand)"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue