vs net core 项目异常解决办法-project.assets.json' not found. Run a NuGet package restore to generate this file
Error occurred while restoring NuGet packages: The local source 'C:Users hinkDownloads' doesn't exist.
1>------ Build started: Project: TensorFlow.Binding, Configuration: Debug Any CPU ------
2>------ Build started: Project: Benchmark, Configuration: Debug Any CPU ------
2>C:Program Filesdotnetsdk2.2.207SdksMicrosoft.NET.Sdk argetsMicrosoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file 'D:TensorFlow.NET20191228TensorFlow.NETsrcTensorFlowNet.Benchmarksobjproject.assets.json' not found. Run a NuGet package restore to generate this file.
solution steps as follows:
PM> dotnet restore
C:Program Filesdotnetsdk3.1.100NuGet.targets(123,5): error : 本地源"C:Users hinkDownloads"不存在。 [D:TensorFlow.NET20191228TensorFlow.NETTensorFlow.NET.sln]
PM>
main menu/build/build solution
========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========