从其他电脑拷贝的项目,添加视图时就报这个错误了
![img](
vs2019 .net core添加视图时报运行所选代码生成器时出错,程序包还原失败
https://img-mid.csdnimg.cn/release/static/image/mid/ask/649003528236129.png
"=600 #left"- 写回答
- 好问题 0 提建议
- 追加酬金
- 关注问题
- 邀请回答
-
1条回答 默认 最新
- CSDN专家-showbo 2021-09-28 20:26关注
web.config中的nuget包可能你电脑上版本不一样。新建的core app添加视图有问题吗?
参考:
https://stackoverflow.com/questions/45906856/package-restore-failed-rolling-back-package-changesasp.net - There was an error running the selected code generator: 'Package restore failed'.Rolling back package changes for 'BankAccount' - Stack Overflow I have created new ASP .Net Core app named 'BankAccount' and when i used to create controller of type 'API controller with actions , using Entity Framework', it gives me the following error => The... https://stackoverflow.com/questions/57985132/there-was-an-error-running-the-selected-code-generator-package-restore-failed本回答被题主选为最佳回答 , 对您是否有帮助呢?解决 无用评论 打赏 举报
悬赏问题
- ¥20 机器学习能否像多层线性模型一样处理嵌套数据
- ¥20 西门子S7-Graph,S7-300,梯形图
- ¥50 用易语言http 访问不了网页
- ¥50 safari浏览器fetch提交数据后数据丢失问题
- ¥15 matlab不知道怎么改,求解答!!
- ¥15 永磁直线电机的电流环pi调不出来
- ¥15 用stata实现聚类的代码
- ¥15 请问paddlehub能支持移动端开发吗?在Android studio上该如何部署?
- ¥20 docker里部署springboot项目,访问不到扬声器
- ¥15 netty整合springboot之后自动重连失效