Assets file '<path>\project.assets.json' not found. Run a NuGet package restore to generate this file.

C:\Program Files\dotnet\sdk\2.1.504\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(198, 5): error NETSDK1004: 找不到资产文件 project.assets.json

解决办法:

使用 cmd cd 目前 .net core 项目文件夹中
运行 dotnet build

 

相关文章:

  • 2022-12-23
  • 2021-09-04
  • 2021-09-14
  • 2021-08-03
  • 2021-11-21
  • 2022-12-23
  • 2021-12-27
  • 2021-06-08
猜你喜欢
  • 2021-11-02
  • 2022-12-23
  • 2021-04-09
  • 2021-06-03
相关资源
相似解决方案