首页 > 其他分享 >Rider 发布.NET 报错:

Rider 发布.NET 报错:

时间:2022-11-11 16:25:00浏览次数:48  
标签:restore -- net6.0 报错 NET Rider

错误描述:
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

标签:restore,--,net6.0,报错,NET,Rider
From: https://www.cnblogs.com/suif/p/16880854.html

相关文章