nuget-package-restore

Build error, This project references NuGet

三世轮回 提交于 2019-11-30 13:43:05
问题 When I try to build my solution, I get the following error message: Severity Code Description Project File Line Suppression State Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ..\packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props. MusicKarma C:\Users\Bryan\Documents\Visual Studio 2015\Projects

An error occurred while trying to restore packages. Please try again

帅比萌擦擦* 提交于 2019-11-30 10:53:59
I am trying to restore the missing nuget packages and it keeps giving me this Error: An error occurred while trying to restore packages. Please try again. Any experience solving this? How can I find out what exactly is causing the error? Haacked Make sure you upgrade to the latest NuGet ( http://docs.nuget.org/docs/start-here/installing-nuget ). Make sure you're doing package restore "The Right Way" http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html That should resolve the issue. If you don't want the package, just double-click your packages.config, find the line

.Net 2015 References with yellow triangle for Nuget packages on portable libraries

十年热恋 提交于 2019-11-30 10:52:35
I know the question has been asked before but none of the suggested resolutions are working for me so I'm going to ask it again and hopefully get new suggestions. Some of the articles I've read: VS .Net References with yellow triangle Why do I get a warning icon when I add a reference to an MEF plugin project? The exclamation mark in the yellow triangle icon (inside Solution Explorer) My 5 portable libraries are definitely all targeting the same frameworks (I've checked and re-checked as this was one of the suggestions!): .NET Framework 4.5 ASP.NET Core 1.0 Windows Phone 8 Windows Phone 8.1

Build error, This project references NuGet

元气小坏坏 提交于 2019-11-30 08:07:45
When I try to build my solution, I get the following error message: Severity Code Description Project File Line Suppression State Error This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105 . The missing file is ..\packages\Microsoft.Net.Compilers.1.1.1\build\Microsoft.Net.Compilers.props. MusicKarma C:\Users\Bryan\Documents\Visual Studio 2015\Projects\MusicKarma\MusicKarma.csproj 268 When I look In my packages folder, I can find I file named Microsoft.Net

An error occurred while trying to restore packages. Please try again

夙愿已清 提交于 2019-11-29 16:05:35
问题 I am trying to restore the missing nuget packages and it keeps giving me this Error: An error occurred while trying to restore packages. Please try again. Any experience solving this? How can I find out what exactly is causing the error? 回答1: Make sure you upgrade to the latest NuGet (http://docs.nuget.org/docs/start-here/installing-nuget). Make sure you're doing package restore "The Right Way" http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html That should resolve

.Net 2015 References with yellow triangle for Nuget packages on portable libraries

江枫思渺然 提交于 2019-11-29 16:03:37
问题 I know the question has been asked before but none of the suggested resolutions are working for me so I'm going to ask it again and hopefully get new suggestions. Some of the articles I've read: VS .Net References with yellow triangle Why do I get a warning icon when I add a reference to an MEF plugin project? The exclamation mark in the yellow triangle icon (inside Solution Explorer) My 5 portable libraries are definitely all targeting the same frameworks (I've checked and re-checked as this

How do I include NuGet packages in my solution for .Net Core projects?

ⅰ亾dé卋堺 提交于 2019-11-29 14:45:01
With classic .Net projects, if I added a reference to a NuGet package, it would get downloaded to a packages folder and I could check that into source control along with the rest of my code. This allowed any developer to download the code, along with the NuGet packages, without having to set up a package source to separately download the packages. This is not how .Net Core projects work. There does not seem to be a packages folder for the solution, and it is up to each developer to set up the custom package source and download the packages when they get the code. Is there a way to configure

Enable NuGet Package Restore on Visual Studio 2013

故事扮演 提交于 2019-11-29 13:07:04
I'm following this easy tutorial to start coding with the Google+ API in C#. However, I've been stuck for hours on Step 3, where the first substeps are: In Visual Studio, click Project > Enable NuGet Package Restore > answer Yes in the dialog. Right-click on the gplus-quickstart-csharp project and select Manage NuGet Packages. Click Restore on the Manage NuGet Packages window. This will install the Google API Client libraries. When I click on Projet, there is no option "Enable NuGet Package Restore". There is a Manage Nuget Packages option, but no Restore button or option whatsoever. The

NuGet Package restore failed for project Miscellaneous Files: Value cannot be null or an empty string. Parameter name: root. 0 0

情到浓时终转凉″ 提交于 2019-11-28 20:59:13
I have such error in vs 2012: NuGet Package restore failed for project Miscellaneous Files: Value cannot be null or an empty string. Parameter name: root. 0 0 I see that it's a bug https://nuget.codeplex.com/workitem/3780 that was fixed for version 2.8 But I can't find the 2.8 version on https://nuget.codeplex.com Is it possible to fix the error without the installation of the 2.8 version? Or how to get the 2.8? I fixed this by deleting the visual studio solution user options file (.suo) and then restarting VS. UPDATE: For VS 2017, you need to delete a hidden folder named .vs located in

Team Foundation Service build fails on NuGet package restore

放肆的年华 提交于 2019-11-28 17:13:48
I'm having kind of an odd problem with my Team Foundation Service build. I queue it up and it starts just fine, but then it fails with the following error: C:\a\src\Platform\Prod\Platform.Web\Platform.Web.csproj (436): The build restored NuGet packages. Build the project again to include these packages in the build. For more information, see http://go.microsoft.com/fwlink/?LinkID=317568. So then I re-queue the build per the message/URL and...it happens again. I've Googled around but I can't seem to figure out what the issue is. I can build just fine in Visual Studio and the solution is