vstemplate 檔案參考了不在
‘Microsoft.VisualStudio.WinRT.TemplateWizards, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ 組件中的精靈類別. ‘Microsoft.VisualStudio.WinRT.TemplateWizards.ApplicationInsights.Wizard’, which does not exist in the assembly
The vstemplate file references the wizard class ‘Microsoft.VisualStudio.WinRT.TemplateWizards.ApplicationInsights.Wizard’, which does not exist in the assembly ‘Microsoft.VisualStudio.WinRT.TemplateWizards, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’.
請到這個目錄下 C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\ProjectTemplates\CSharp\Windows Root\Windows UAP\1033\BlankApplication\BlankApplication.vstemplate
移除底下資訊,就會恢復正常了 <WizardExtension>
<Assembly>Microsoft.VisualStudio.WinRT.TemplateWizards, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a</Assembly>
<FullClassName>Microsoft.VisualStudio.WinRT.TemplateWizards.ApplicationInsights.Wizard</FullClassName>
</WizardExtension>
底下的方法都無效可以參考這篇文章的作法 (Er Naparan)
您需要重新執行一次 Visual Studio 安裝程式,接著選擇
Modify
> 功能
> Windows 及 Web 程式開發
> 通用 Windows 應用程式開發工具
> 全選後,按下 更新
https://blogs.msdn.microsoft.com/visualstudio/2016/06/07/visual-studio-2015-update-3-rc/
沒有留言:
張貼留言