【问题标题】:Windows Universal App Development Template Load errorWindows 通用应用程序开发模板加载错误
【发布时间】:2015-08-13 08:28:35
【问题描述】:

现在刚刚完成设置并尝试使用 Visual Studio 2015 Enterprise 构建“Hello 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 上尝试了社区版并且能够构建应用程序。但是在 Windows 10 上尝试使用企业版时,除了错误之外什么都没有。

信息页面也列出任何开发工具。

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.

【问题讨论】:

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


    【解决方案1】:

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

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

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

    【讨论】:

      【解决方案2】:

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

      【讨论】:

        【解决方案3】:

        也许您禁用了 Visual Studio 的 xamarin。选择工具 > “Extensions en Updates” > “Xamarin For Visual Studio” > 点击启用。

        【讨论】:

          【解决方案4】:

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

          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>
          

          【讨论】:

          • 您能否提供解决方案的要点,而不仅仅是包含一个链接?链接可能会随着时间的推移而贬值,未来的读者将会失去答案。
          猜你喜欢
          • 2018-03-13
          • 1970-01-01
          • 2021-03-03
          • 2015-03-31
          • 1970-01-01
          • 2018-01-10
          • 2011-12-29
          • 1970-01-01
          • 1970-01-01
          相关资源
          最近更新 更多