So 2021/2/8 12:20:29
我发现,第一次生成解决方案,然后dotnet publish,都是没有问题的,然后第二次 重新生成解决方案,然后dotnet publish就会提示:
\project.assets.json’ doesn’t have a target for ‘netcoreapp2.2’. Ensure that restore has run and that you have included ‘netcoreapp2.2’ in the TargetFrameworks for your project.



So 2021/2/8 13:50:03



解决了