This repository has been archived by the owner on May 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support update to prerelease version
- Loading branch information
Showing
5 changed files
with
37 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,18 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks> | ||
<PropertyGroup> | ||
<OutputType>Exe</OutputType> | ||
<TargetFrameworks>netcoreapp3.1;net6.0</TargetFrameworks> | ||
|
||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
|
||
<PackAsTool>true</PackAsTool> | ||
<ToolCommandName>dotnet-updatealltools</ToolCommandName> | ||
</PropertyGroup> | ||
<!-- 设置支持的运行时版本,当前 dotnet core 设置为 2.0 是古老的版本,需要通过如下配置让只安装新版本的设备可以运行 --> | ||
<!-- [选择要使用哪个 .NET 版本](https://docs.microsoft.com/zh-cn/dotnet/core/versions/selection) --> | ||
<!-- 如果缺少所请求的主要版本,则前滚到下一个可用的更高主要版本和最低的次要版本 --> | ||
<RollForward>Major</RollForward> | ||
|
||
<PackAsTool>true</PackAsTool> | ||
<ToolCommandName>dotnet-updatealltools</ToolCommandName> | ||
</PropertyGroup> | ||
|
||
</Project> |