Visual studio 创建通用项目失败vstemplate

Visual studio 创建项目失败 提示 the vstemplate file references the wizard class 'Microsoft.VisualStudio.WinRT.TemplateWizards.ApplicationInsights.Wizard' which does not exsist in the assembly 'Microsoft.VisualStudio.WinRT.TemplateWizards, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.

vstemplate文件引用的向导类“Microsoft.VisualStudio.WinRT.TemplateWizards.ApplicationInsights.Wizard "在程序集”Microsoft.VisualStudio.WinRT.TemplateWizards,Version=14.0.0.0,Culture=neutral,PublicKeyToken=b03f5f7f11d50a3a" 中不存在。

解决方法:在VisualStudio安装目录下,一般为C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\CSharp\Windows Root\Windows UAP

有一个以数字命名的文件夹,打开后,再打开BlankApplication文件夹,打开 BlankApplication.vstemplatet 文件,编辑

找到Microsoft.VisualStudio.WinRT.TemplateWizards, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a,FullClassName:Microsoft.VisualStudio.WinRT.TemplateWizards.ApplicationInsights.Wizard删除

保存,即可

转载于:https://www.cnblogs.com/shiyingzheng/p/6196968.html

你可能感兴趣的:(Visual studio 创建通用项目失败vstemplate)