简体   繁体   English

Nuget安装软件包

[英]Nuget Install A Package

I am trying to install "Microsoft.ProjectOxford.SpeechRecognition-x64" using Nuget on Visual studio. 我正在尝试在Visual Studio上使用Nuget安装“ Microsoft.ProjectOxford.SpeechRecognition-x64”。 I got the following error. 我收到以下错误。 What does it mean? 这是什么意思? Thanks 谢谢

PM> Install-Package Microsoft.ProjectOxford.SpeechRecognition-x64

Install-Package : Solution is not saved. Please save your solution before managing NuGet packages. At line:1 char:1
+ Install-Package Microsoft.ProjectOxford.SpeechRecognition-x64
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [Install-Package], InvalidOperationException
    + FullyQualifiedErrorId : NuGetUnsavedSolution,NuGet.PackageManagement.PowerShellCmdlets.InstallPackageCommand

The NuGet team deprecated solution level packages in NuGet 3.0. NuGet团队不建议使用 NuGet 3.0中的解决方案级别软件包 So install the NuGet package to solution without any project is not supported. 因此,不支持在没有任何项目的情况下将NuGet软件包安装到解决方案中。 You need create a project, then add the package to the project. 您需要创建一个项目,然后将包添加到项目中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM