[英]I get "Build failed." error for anything I write on Package Manager Console without any other explanation
enter image description here Each package is licensed to you by its owner.在此处输入图片描述每个 package 均由其所有者授权给您。 NuGet is not responsible for, nor does it grant any licenses to, third-party packages. NuGet 不对第三方包负责,也不授予任何许可。 Some packages may include dependencies which are governed by additional licenses.某些软件包可能包含受附加许可证约束的依赖项。 Follow the package source (feed) URL to determine any dependencies.按照 package 来源(提要)URL 确定任何依赖项。
Package Manager Console Host Version 6.1.0.106 Package 管理器控制台主机版本 6.1.0.106
Type 'get-help NuGet' to see all available NuGet commands.键入“get-help NuGet”以查看所有可用的 NuGet 命令。
PM> Drop-Database Build started... Build failed. PM> Drop-Database Build started... 构建失败。 PM> Add-Migration init Build started... Build failed. PM> Add-Migration init Build started... 构建失败。 PM> PM> Update-Database Build started... Build failed. PM> PM> Update-Database Build started... 构建失败。 PM>私信>
It fails to build when there is an error in your code.当您的代码中存在错误时,它无法构建。 Make sure there are no errors in your code before you try to add or update, look through all files that you've worked on since you last tried to add your migration or update the database since the error message will only appear when you have that window open.在尝试添加或更新之前,请确保代码中没有错误,查看自上次尝试添加迁移或更新数据库以来您处理过的所有文件,因为错误消息只会在您拥有时出现window 打开。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.