You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

VS2017反复无法创建Xamarin Forms项目求助

Fix for Missing Xamarin Forms Project Option in Visual Studio 2017

Hey there, let's work through this issue step by step—since reinstalling worked before but the problem came back, we can target potential component corruption or template registration issues with these fixes:

  • Repair your Visual Studio 2017 installation

    1. Launch the Visual Studio Installer, locate your VS2017 instance, and click Modify.
    2. Double-check that the Mobile development with .NET workload is checked (even if you selected it during initial setup, some components might have become corrupted).
    3. Click Modify to reinstall any missing or damaged components, then restart VS once complete.
  • Reset Visual Studio user data and template registration
    Sometimes cached settings or unregistered templates cause this problem:

    1. Close all open instances of Visual Studio.
    2. Open Command Prompt as an administrator, then run these commands one after another:
      devenv /resetuserdata
      devenv /setup
      
    3. Wait for the commands to finish, then launch VS again and check if the Xamarin Forms project option is back.
  • Verify template files exist

    1. Navigate to the VS template directory (replace YourEdition with your VS2017 edition like Community/Professional):
      C:\Program Files (x86)\Microsoft Visual Studio\2017\YourEdition\Common7\IDE\ItemTemplates\CSharp\Mobile Apps
    2. Look for Xamarin Forms-related template folders here. If they're missing, a repair (from the first step) should restore them.
  • Update Xamarin components
    Outdated Xamarin components can break template visibility:

    1. Open VS, go to Tools > Options > Xamarin > Other.
    2. Click Check for Updates to install the latest versions of Xamarin.iOS, Xamarin.Android, and Xamarin.Forms. Restart VS after updating.

From your attached screenshot, it’s clear the template is entirely missing, so focusing on repairing components and re-registering templates should resolve this issue.

内容的提问来源于stack exchange,提问作者priya_d

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.20 11:53:01