错误描述:
Rider 发布.NET项目时, 报错:NETSDK1005 Assets file 'project.assets.json' doesn't have a target for 'net6.0'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project.
解决方案:
dotnet restore --packages .nuget --runtime win-x64