未找到Visual Studio 2013的WRL项目模板 [英] WRL Project Template not found for Visual Studio 2013

查看:177
本文介绍了未找到Visual Studio 2013的WRL项目模板的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想按照 MSDN上的这些步骤建立基于WRL的C ++ WinRT组件。但是在步骤#3中,我在结果中找不到与WRL相关的任何内容:

I am trying to follow these steps on MSDN for building a WRL-based C++ WinRT component. However in step #3, I am unable to find anything related to WRL in the results:


  • 在搜索在线模板框在右上角,键入
    WRL类库。当模板出现在搜索结果中时,
    选择确定按钮)

  • In the Search online templates box in the upper right corner, type WRL Class Library. When the template appears in the search results, choose the OK button)

WRL的Visual Studio 2013项目模板

How can I get the WRL Project Template for Visual Studio 2013?

推荐答案

更新上的 =nofollow>模板现已更新,现在也可用于Visual Studio 2013。

Update: The template on the VS Gallery has now been updated and is now available for Visual Studio 2013 as well.

似乎Visual Studio的WRL项目模板尚未针对Visual Studio 2013进行更新。 :

It seems the WRL Project Template for Visual Studio has not yet been updated for Visual Studio 2013. There is a workaround however:


  1. 不要从VS2013获取项目模板,请通过网站下载。 WRL类库

  2. 下载的文件将被称为WRLVSIXProject.vsix。

  3. 更改文件扩展名。将其重命名为WRLVSIXProject.zip

  4. 解压缩zip文件。

  5. 在该部分中,在第一行后面插入以下行:

  6. p>

  1. Instead of acquiring the project template from VS2013, download it through the website. WRL Class Library.
  2. The downloaded file would be called WRLVSIXProject.vsix.
  3. Change the file extension. Rename it to WRLVSIXProject.zip
  4. Unzip the zip file.
  5. Open the file extension.vsixmanifest in a text editor
  6. In the section, insert the following line after the first line:

<InstallationTarget Id="Microsoft.VisualStudio.Pro" Version="12.0" />


  • 保存文件并关闭

  • Save the file and close it

    这篇关于未找到Visual Studio 2013的WRL项目模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

  • 查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆