“我将 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 不再是一种编程语言!”
—点这里↓↓↓记得关注标星哦~—
一键三连 「分享」「点赞」「在看」
成就一亿技术人

关注公众号:拾黑(shiheibook)了解更多
[广告]赞助链接:
四季很好,只要有你,文娱排行榜:https://www.yaopaiming.com/
让资讯触达的更精准有趣:https://www.0xu.cn/

随时掌握互联网精彩
赞助链接
排名
热点
搜索指数
- 1 总书记的两会“关心事” 7952820
- 2 中方回应菲前总统杜特尔特携女访港 7965189
- 3 苦等丈夫80多年 103岁的她去世 7823303
- 4 三大通道聚焦这些“大事小情” 7757893
- 5 国家版减肥指南来了 7654481
- 6 26岁小伙做泰山陪爬年入30多万 7542330
- 7 00后用DeepSeek1天卖出3.3亿 7477088
- 8 首批小米SU7 Ultra车标被抠 7342848
- 9 老人29块网购电三轮 快递巴掌大 7265357
- 10 乡村如何吸引并留住年轻人 7134215