Xamarin.forms: Xamarin Forms Template missing

Created on 18 Apr 2018  ·  7Comments  ·  Source: xamarin/Xamarin.Forms

ISSUE: Xamarin Forms Template missing

Not able to create new Xamarin forms project in VS 2017. I even tried reinstalling Xamarin in Visual Studio.

Also a couple of days back my WebView application was running in debug mode absolutely fine in the emulator. But now the same solution is throwing the following error.

Build Failed: Xamarin.Android does not support running the previous version. Please ensure your solution builds before running or debugging it.

- Last known good version:

IDE: VS 2017 15.5.7
Xamarin Designer: 4.8.188
Android: 8.1.5.0
iOS: 11.6.1.4

- Version with issue:

IDE: Microsoft Visual Studio Professional 2017 v15.6.6
Platform Target Frameworks: Microsoft .Net Framework v4.7.02558
Xamarin: v4.9.0.753
iOS: 11.9.1.24
Android: 8.2.0.16
Xamarin Designer v4.10.96

Screenshots

Current Version

xamarinformsmissing

Older Version

xamarinolderversion

templates needs-info ❓

Most helpful comment

I am following up via email to gather additional logs.

All 7 comments

Can you confirm that the Mobile Development with .NET option is checked in the Visual Studio Installer?

To check, open the Visual Studio Installer and click Modify on your installation.

image

Hi samhouts,
As mentioned above, I uninstalled it and reinstalled the Mobile Development with .NET. Still the issue persists.

Reinstall windows or format your drive.

Reinstalling Windows seems a bit extreme. Let me confer with the Visual Studio team and see if they have a better suggestion.

I am following up via email to gather additional logs.

Hi guys! I wrote up to Microsoft and found the solution to this issue.
The template had been disabled by default, probably during an update and failed to enable later.
It can be enabled in Visual Studio in :

Tools > Extensions and Updates

image

Closing as this seems resolved.

Was this page helpful?
0 / 5 - 0 ratings