简体   繁体   English

我得到“构建失败”。 我在 Package 管理器控制台上写的任何东西都出错,没有任何其他解释

[英]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.

相关问题 实体框架程序包管理器控制台命令错误-生成失败 - Entity Framework Package Manager Console Commands Error - failed to build 在Visual Studio中的程序包管理器控制台上执行“更新数据库”时,出现错误:找不到内容根文件夹 - When doing an “update-database” on the package manager console in visual studio i get error : Could not find content root folder 在能够构建我的应用程序之前,我必须通过 Package 管理器控制台运行“dotnet restore” - I have to run “dotnet restore” through the Package Manager Console before being able to build my applications 如何在 ubuntu 18.04.2 上访问 nuget 包管理器控制台 - How can I access the nuget package manager console on ubuntu 18.04.2 如何在没有任何错误或警告的情况下找到构建失败的原因 - How to find the reason for a failed Build without any error or warning 如何写入统一游戏的控制台(构建后)? - How do I write to a unity game's console (after build)? 在没有Package Manager控制台的情况下安装C#库 - Install C# library without the Package Manager Console 当我在 package 管理器控制台中的 Visual Studio 2013 中安装实体框架时 - When I am installing Entity Framework in Visual Studio 2013 in the package manager console 我无法从nuget软件包管理器控制台安装epson热敏打印机nuget - I am unable to install epson thermal printer nuget from nuget package manager console 构建失败。 详见构建日志 - Build Failed. See the build log for detail
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM