11

I installed Visual studio 2015 and I'm trying to create a test application for Windows Phone 8.1. When I create a new project, I get this message:

enter image description here

Any suggestions on how to solve this problem?

2
  • I have exactly the same error. Any solutions to this? Commented Jun 8, 2015 at 15:34
  • @Nick What operating system are you on? I am Windows 7 SP1 64 bit. Commented Jun 26, 2015 at 13:02

6 Answers 6

10

Here is the solution:

  1. Open Visual Studio and go to Tools > Extensions and Updates
  2. Uninstall "NuGet Package Manager for Visual Studio 2015"
  3. Restart Visual Studio 2015
  4. Open Visual Studio and to Tools > Extensions and Updates again
  5. Install "NuGet Package Manager for Visual Studio 2015"
  6. Restart Visual Studio 2015
Sign up to request clarification or add additional context in comments.

Comments

5

I got a similar error message when trying to create an MVC Web App on VS2015. Found this solution and it worked for me.

  1. Go to Tools>Extensions and Updates
  2. Search the NuGet Package Manager for Visual Studio 2015
  3. Install NuGet Package Manager
  4. Restart VS2015

Hope it helps.

1 Comment

It solved my problem. I was downgrading from VS 2017 to VS 2015 and completely forgot about deleted NuGet.
1

On VS2017 go to "Tools-> Extension and Updates" then find and Check "Xamarin for Visual Studio", it was disable, i enabled it, and restarted. Worked for me.

Refer: https://developercommunity.visualstudio.com/content/problem/83460/cannot-create-a-new-xamarin-project-using-vs2017.html

Comments

1
  1. Go to tools>Extensions and updates
  2. Search for Visual studio tools for Apache cordova and enable it.
  3. Restart visual studio and it will work

Comments

0

This worked for me:
1) go to installation path for VS2015 from command prompt and type:
devenv.exe /InstallVSTemplates
2)
- Go to Tools>Extensions and Updates
- Search the NuGet Package Manager for Visual Studio 2015
- Install NuGet Package Manager
- Restart Visual Studio 2015

Comments

0

Another way on VS2017 (and probably VS2019), open the Visual Studio Installer (from the Start menu), and when it loads up, press modify. From there, click on the tab at the top to select individual packages and in the list select NuGet Package Manager. Then press modify at the bottom-right to apply the change.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.