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\think\Downloads‘ 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 Files\dotnet\sdk\2.2.207\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets(208,5): error NETSDK1004: Assets file ‘D:\TensorFlow.NET20191228\TensorFlow.NET\src\TensorFlowNet.Benchmarks\obj\project.assets.json‘ not found. Run a NuGet package restore to generate this file.

solution steps as follows:

?

PM> dotnet restore

C:\Program Files\dotnet\sdk\3.1.100\NuGet.targets(123,5): error : 本地源"C:\Users\think\Downloads"不存在。 [D:\TensorFlow.NET20191228\TensorFlow.NET\TensorFlow.NET.sln]

PM>

?

main menu/build/build solution

========== Build: 3 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========

?

原文地址:https://www.cnblogs.com/xiexiaokui/p/12112807.html

时间: 2024-08-02 19:20:15

vs net core 项目异常解决办法-project.assets.json‘ not found. Run a NuGet package restore to generate this file的相关文章

Assets file project.assets.json not found. Run a NuGet package restore

https://stackoverflow.com/questions/48440223/assets-file-project-assets-json-not-found-run-a-nuget-package-restore 原文地址:https://www.cnblogs.com/filter-he/p/12275576.html

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session异常解决办法

org.hibernate.NonUniqueObjectException: a different object with the same identifier value was already associated with the session异常解决办法 为什么还会说已经存在相同的session了呢.然后每次将项目重启后第一次编辑的时候问题不会触发,只有当第二次操作的时候才会出现这个问题. 解决办法:关闭session.好好检查操作完成后有没有关闭会话. org.hibernat

VS2012 加载项目失败解决办法

项目文件被卸载时: 一般解决办法为 1.编辑 ****.csproj文件 2.注释:<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 3.重新加载即可 VS2012 加载项目失败解决办法

The APR based Apache Tomcat Native library 异常解决办法

tomat在linux服务器上启动报The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/local/jdk1.6.0_26/jre/lib/i386/server:/usr/local/jdk1.6.0_26/jre/lib/i386:/usr/local

Android主线程不能访问网络异常解决办法

从两个方面说下这个问题: 1. 不让访问网络的原因 2. 解决该问题的办法 不让访问网络的原因: 由于对于网络状况的不可预见性,很有可能在网络访问的时候造成阻塞,那么这样一来我们的主线程UI线程 就会出现假死的现象,产生很不好的用户体验.所以,默认的情况下如果直接在主线程中访问就报出了这个异常,名字是NetworkOnMainThreadException 解决该问题的办法 1. 独立线程 2. 异步线程AsyncTask 3. StrictMode修改默认的策略 1) 独立线程的办法 启动一个

Spring 配置异常解决办法之Referenced file contains errors

Spring 配置异常解决办法之Referenced file contains errors (http://www.sp Referenced file contains errors (http://www.springframework.org/schema/beans/spring-beans-3.0.xsd). For more information, right click on the message in the Problems View and select "Show

Java AOP nested exception is java.lang.NoClassDefFoundError: org/aopalliance/aop/Advice || Error creating bean with name &#39;org.springframework.aop.aspectj.AspectJPointcutAdvisor#0&#39; 两个异常解决办法

贴出applicationContext.xml <?xml version="1.0" encoding="UTF-8"?> <beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://ww

cosbench read异常解决办法。 Unable to verify integrity of data download. Client calculated content hash didn&#39;t match hash calculated by Amazon S3. The data may be corrupt.

问题:cosbench read测试failed 报错如下 Cosbench v0.4.2.c4 against Ceph (Hammer) / radosgw / HAproxy's HTTP end point. All seems fine except that at the end of the read test, it failed the task and gave following errors com.amazonaws.AmazonClientException: Una

关于 java 上传,下载和导入报java.lang.IllegalStateException异常解决办法

java.lang.IllegalStateException异常解决办法 最近在使用response.sendRedirect()时出现如下错误:java.lang.IllegalStateException            org.apache.catalina.connector.ResponseFacade.sendRedirect(ResponseFacade.java:423) 经过分析.查看jdk文档终于找到解决的办法,在response.sendRedirect()方法后加