stamblerre
stamblerre

Reputation: 261

Operation failed, unable to locate the solution directory

I'm new to ASP.NET and have been working through some tutorials in VS 2013. I just tried to open up Nuget by clicking on Website > Manage Nuget Packages, but got this error message:

"Operation failed. Unable to locate solution directory. Please ensure that the solution has been saved."

I can't seem to find anything online about how to fix this, and Nuget is definitely installed and everything is saved. Any thoughts?

Upvotes: 9

Views: 15901

Answers (1)

rene
rene

Reputation: 42494

In VS2010 ctrl+shift+S saves everything.

Selecting the solution in the Solution Explorer and then choose

File | Save

saves the solution.

Keep in mind that if you donwload files from the internet those files can be blocked. You can unblock them by going to the properties of the file in the windows explorer and click unblock. Or you could use powershell as shown in this question

Upvotes: 26

Related Questions