Windows通用应用程序开发模板加载错误

时间:2015-08-13 08:28:35

标签: win-universal-app windows-10 windows-10-iot-core

现在刚刚完成设置并尝试使用Visual Studio 2015 Enterprise构建一个hellp world应用程序时,它非常烦人

---------------------------
Microsoft Visual Studio
---------------------------
Error: this template attempted to load component assembly 
'Microsoft.VisualStudio.Universal.TemplateWizards, Version=14.0.0.0, 
Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. For more information 
on this problem and how to enable this template, please see documentation 
on Customizing Project Templates.
---------------------------
OK   
---------------------------

现在我不明白它有什么问题。我在Windows 8.1上尝试过comunity edition并且能够构建应用程序。但是在Windows 10上尝试使用Enterprise Edition时,除了错误之外什么都没有。

Nor Information页面列出了任何开发工具。

Microsoft Visual Studio Enterprise 2015
Version 14.0.23107.0 D14REL
Microsoft .NET Framework
Version 4.6.00079

Installed Version: Enterprise

Architecture and Modeling Tools   00322-80000-00000-AA627
Microsoft Architecture and Modeling Tools

UML® and Unified Modeling Language™ are trademarks or registered trademarks of the Object Management Group, Inc. in the United States and other countries.

Visual Basic 2015   00322-80000-00000-AA627
Microsoft Visual Basic 2015

Visual C# 2015   00322-80000-00000-AA627
Microsoft Visual C# 2015

Visual C++ 2015   00322-80000-00000-AA627
Microsoft Visual C++ 2015

Application Insights Tools for Visual Studio Package   1.0
Application Insights Tools for Visual Studio

ASP.NET and Web Tools   14.0.20711.0
ASP.NET and Web Tools

ASP.NET Web Frameworks and Tools 2013   5.2.30624.0
For additional information, visit http://www.asp.net/

Common Azure Tools   1.5
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.

GenerateUnitTest   1.0
Generates unit test code for methods in classes under test.

GitHub.VisualStudio   1.0
A Visual Studio Extension that brings the GitHub Flow into Visual Studio.

Indent Guides   14
Indent Guides

Adds visual guides at each indentation level.

Microsoft Azure HDInsight HQL Service   2.0.2200.0
Language service for Hive query

Microsoft Azure HDInsight Tools for Visual Studio   2.0.2200.0
An integrated development environment for HDInsight application development.

Microsoft Azure Mobile Services Tools   1.4
Microsoft Azure Mobile Services Tools

Microsoft Code Digger   0.9
Microsoft Code Digger

Microsoft.Pex.VisualStudio   1.0
Pex

NuGet Package Manager   3.0.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit http://docs.nuget.org/.

PreEmptive Analytics Visualizer   1.2
Microsoft Visual Studio extension to visualize aggregated summaries from the PreEmptive Analytics product.

SQL Server Data Tools   14.0.50616.0
Microsoft SQL Server Data Tools

Web Essentials 2015   0.5.144
Adds many useful features to Visual Studio for web developers.

4 个答案:

答案 0 :(得分:20)

我在VirtualBox上的Windows 10上遇到了同样的问题。

您必须再次运行visual studio安装程序。 在安装程序中选择“修改”。 选择功能> “Windows和Web开发”> “通用Windows应用程序开发工具”>单击“更新/安装”。

现在,您将能够使用vs项目模板Windows IoT Core。

答案 1 :(得分:1)

也许你有视觉工作室禁用的xamarin。选择工具> “Extensions en Updates”> “Xamarin For visual studio”>单击“已启用”。

答案 2 :(得分:1)

如果DirectX项目模板中的项目出现此类错误,请确保已安装UWP工作负载(来自Visual Studio安装程序)。

答案 3 :(得分:-1)

你可以在这里找到解决方案。

https://github.com/walbourn/directx-vs-templates/issues/7

以上网站说,

解决方法是编辑C:\ Program Files(x86)\ Microsoft Visual Studio \ 2017 \ Enterprise \ Common7 \ IDE \ devenv.exe.config并添加到以下部分:

<dependentAssembly>
  <assemblyIdentity name="Microsoft.VisualStudio.Universal.TemplateWizards" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
  <bindingRedirect oldVersion="14.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>
<dependentAssembly>
  <assemblyIdentity name="Microsoft.VisualStudio.WinRT.TemplateWizards" publicKeyToken="b03f5f7f11d50a3a" culture="neutral"/>
  <bindingRedirect oldVersion="14.0.0.0" newVersion="15.0.0.0"/>
</dependentAssembly>