1

I have Visual Studio Enterprise 2015, with all updates and patches applied. When I build create a new Visual C# project Templates->Cross-Platform->Blank App (Xamarin.Forms Shared) I get the following error:

A problem was encountered creating the sub project '.Windows'. This project requires a Visual Studio update to load. Right-click on the project and choose 'Download Update'.

When I click Ok, a solution and projects are created but there is no .Windows, so I cant right click on it! If I try add the project then I get the same issue.

I would expect that such a simple use case should work out the box. I can find a few workarounds via Googling but I don't want to hack around with projects before I even write a line of code of my first Xamarin application.

Any ideas on what I need to do to get the project creation working properly "out of the box"?

A second puzzler is that the template creates a .WinPhone folder that is empty, should I have a csproj in it?

Murray Foxcroft
  • 12,785
  • 7
  • 58
  • 86
  • check this http://stackoverflow.com/questions/35413751/constant-visual-studio-update-required-popup-for-monogame-3-4-and-windows-10-uap – PEO May 30 '16 at 04:14

1 Answers1

1
  1. Close Visual Studio and try to modify it components (Control Panel -> Uninstall a program -> Microsoft Visual Studio -> click on it).
  2. In opened window click on "Modify".
  3. Then find and select "Windows 8.1 and Windows Phone 8.0/8.1 Tools" (in Windows and Web Development)
  4. Then click on "Update".

enter image description here

also make sure the Hyper-V is enabled :
Control Panel -> Uninstall a program, then in left menu "Turn Windows Features on or off" and find "Hyper-V", if it isn't selected, select it and click "ok".

enter image description here

Osama AbuSitta
  • 3,918
  • 4
  • 35
  • 51
  • 1
    Thanks - this may work but I ended up uninstalling everything and then reinstalling from scratch. I ran this https://github.com/Microsoft/VisualStudioUninstaller/releases multiple times with reboots inbetween as well. I also reinstalled Xamarin and the Android SDK manually and then ran every update I could find. I will accept the answer so they have this as an option and my comment for reference. – Murray Foxcroft Oct 12 '16 at 08:07