“我将 20 年前开发的操作系统迁移到 .NET 6,竟然成功了!”
$ upgrade-assistant upgrade .\TinyOS.sln
-----------------------------------------------------------------------------------------------------------------
Microsoft .NET Upgrade Assistant v0.3.256001+3c4e05c787f588e940fe73bfa78d7eedfe0190bd
We are interested in your feedback! Please use thefollowing link to open a survey: https://aka.ms/DotNetUASurvey
-----------------------------------------------------------------------------------------------------------------
[22:58:01 INF] Loaded 5 extensions
[22:58:02 INF] Using MSBuild from C:\ProgramFiles\dotnet\sdk\6.0.100\
[22:58:02 INF] Using Visual Studio install from C:\ProgramFiles\Microsoft Visual Studio\2022\Preview [v17]
[22:58:06 INF] Initializing upgrade step Select anentrypoint
[22:58:07 INF] Setting entrypoint to only project insolution: C:\Users\scott\TinyOS\src\TinyOSCore\TinyOSCore.csproj
[22:58:07 INF] Recommending executable TFM net6.0 becausethe project builds to an executable
[22:58:07 INF] Initializing upgrade step Select project toupgrade
[22:58:07 INF] Recommending executable TFM net6.0 becausethe project builds to an executable
[22:58:07 INF] Recommending executable TFM net6.0 becausethe project builds to an executable
[22:58:07 INF] Initializing upgrade step Back up project
<!-- <PackageReference Include="ILLink.Tasks" Version="0.1.4-preview-906439" /> -->
<PackageReference Include="Microsoft.Extensions.Configuration" Version="2.0.0-preview2-final" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.0.0-preview2-final" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="2.0.0-preview2-final" />
<PackageReference Include="Microsoft.Extensions.Options.ConfigurationExtensions" Version="2.0.0-preview2-final" />
dotnet netcoreapp2.0/TinyOSCore.dll 512 scott13.txt
dotnet publish -r win-x64 --self-contained -p:PublishSingleFile=true-p:SuppressTrimAnalysisWarnings=true
-p:EnableCompressionInSingleFile=true
END
《新程序员001-004》全面上市,对话世界级大师,报道中国IT行业创新创造
— 推荐阅读 — ☞对俄罗斯应用“一刀切”!乌克兰知名开发商推出 Mac 专用反间谍软件 ☞知名开源操作系统两大老板闹翻,一位联合创始人被迫退出,道一声:再见! ☞“C 不再是一种编程语言!”
—点这里↓↓↓记得关注标星哦~—
一键三连 「分享」「点赞」「在看」
成就一亿技术人
[广告]赞助链接:
关注数据与安全,洞悉企业级服务市场:https://www.ijiandao.com/
让资讯触达的更精准有趣:https://www.0xu.cn/
关注KnowSafe微信公众号
随时掌握互联网精彩
随时掌握互联网精彩
赞助链接