简体   繁体   中英

Nuget Install A Package

I am trying to install "Microsoft.ProjectOxford.SpeechRecognition-x64" using Nuget on Visual studio. 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. So install the NuGet package to solution without any project is not supported. You need create a project, then add the package to the project.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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