Unable to Install Any Package in Visual Studio 2015

I’ve tried every package I could possibly find and none of them will install in my project. I’ve installed every update listed in the Extensions and Updates list that were available. When I attempt to install SendGrid for example, this is the result (as is the result with all other packages): Attempting to gather dependencies … Read more

How do I install a NuGet package into the second project in a solution?

I’m currently working on a solution that initially contained one project (My.First.Project.Name). I’ve installed Castle Windsor by executing: Install-Package Castle.Windsor I’ve just added another project (My.Second.Project.Name) to the solution and want to install Castle Windsor into this project also, but when I run Install-Package Castle.Windsor again, I get the error: ‘Castle.Core 2.5.2’ already installed ‘Castle.Windsor … Read more

How do I enable NuGet Package Restore in Visual Studio?

There’s a similar post on stack but it doesn’t help with my issue possibly because I am using Visual Studio 2015. How do I get the “Enable NuGet Package Restore” option to appear in VS2015? I chose File > New Project and created an empty ASP.NET Web Application. I’m looking for this menu option. I … Read more

Getting “project” nuget configuration is invalid error [duplicate]

This question already has answers here: Unable to Install Any Package in Visual Studio 2015 (19 answers) Closed 5 years ago. I’m getting “[project] nuget configuration is invalid” error. I received an error like this before and used the ‘Update Nuget package manager’ solution mentioned here: Unable to Install Any Package in Visual Studio 2015 … Read more

System.MissingMethodException: Method not found?

Previous working asp.net webforms app now throws this error: System.MissingMethodException: Method not found The DoThis method is on the same class and it should work. I have a generic handler as such: public class MyHandler: IHttpHandler { public void Processrequest(HttpContext context) { // throws error now System.MissingMethodException: // Method not found. this.DoThis(); } public void … Read more

Is it possible to change the location of packages for NuGet?

I have the following convention for most of my projects: /src /Solution.sln /SolutionFolder /Project1 /Project2 /etc.. /lib /Moq moq.dll license.txt /Yui-Compressor yui.compressor.dll /tools /ILMerge ilmerge.exe You’ll notice that I do not keep external libraries inside the source folder. I’m also very interested in using NuGet but don’t want these external libraries inside the source folder. … Read more

Get TFS to ignore my packages folder

I’m trying to get TFS (2013) to ignore my packages folder. I passionately don’t want it source controlled as I’m using NuGet and it’s great! I’ve tried cloaking (doesn’t seem to work), I’ve tried adding .tfignore files – nothing is ignored. Why don’t the TFS team just add an option to permanently ignore a folder … Read more