Auto .NET version Roll-Forward for skill issue people #1

Merged
xeon merged 1 commit from YYHEggEgg/FreeSR:main into main 2024-03-25 16:06:30 +00:00
Contributor

Theory Basis: MSBuild reference for .NET SDK projects - RollForward | 中文:.NET SDK 项目的 MSBuild 引用 - RollForward

Before:

PS D:\vscode_workspace\FreeSR\FreeSR.Tool.Proxy> dotnet run
You must install or update .NET to run this application.

App: D:\vscode_workspace\FreeSR\FreeSR.Tool.Proxy\bin\Debug\net7.0\FreeSR.Tool.Proxy.exe
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64)
.NET location: C:\Program Files\dotnet

The following frameworks were found:
  6.0.25 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  8.0.2 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Learn more:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10

After:

PS D:\vscode_workspace\FreeSR\FreeSR.Tool.Proxy> dotnet run
Set endpoint at Ip 0.0.0.0 and port: 8080 as System HTTP Proxy
Set endpoint at Ip 0.0.0.0 and port: 8080 as System HTTPS Proxy
Theory Basis: [MSBuild reference for .NET SDK projects - RollForward](https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#rollforward) | [中文:.NET SDK 项目的 MSBuild 引用 - RollForward](https://learn.microsoft.com/zh-cn/dotnet/core/project-sdk/msbuild-props#rollforward) Before: ```slog PS D:\vscode_workspace\FreeSR\FreeSR.Tool.Proxy> dotnet run You must install or update .NET to run this application. App: D:\vscode_workspace\FreeSR\FreeSR.Tool.Proxy\bin\Debug\net7.0\FreeSR.Tool.Proxy.exe Architecture: x64 Framework: 'Microsoft.NETCore.App', version '7.0.0' (x64) .NET location: C:\Program Files\dotnet The following frameworks were found: 6.0.25 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] 8.0.2 at [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Learn more: https://aka.ms/dotnet/app-launch-failed To install missing framework, download: https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=7.0.0&arch=x64&rid=win-x64&os=win10 ``` After: ```log PS D:\vscode_workspace\FreeSR\FreeSR.Tool.Proxy> dotnet run Set endpoint at Ip 0.0.0.0 and port: 8080 as System HTTP Proxy Set endpoint at Ip 0.0.0.0 and port: 8080 as System HTTPS Proxy ```
YYHEggEgg added 1 commit 2024-02-26 11:47:04 +00:00
xeon merged commit 44b9bf8580 into main 2024-03-25 16:06:30 +00:00
This repo is archived. You cannot comment on pull requests.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Moux23333/FreeSR#1
No description provided.