未找到Visual Studio 2013的WRL项目模板 [英] WRL Project Template not found for Visual Studio 2013
问题描述
我想按照 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:
- 不要从VS2013获取项目模板,请通过网站下载。 WRL类库。
- 下载的文件将被称为WRLVSIXProject.vsix。
- 更改文件扩展名。将其重命名为WRLVSIXProject.zip
- 解压缩zip文件。
-
在该部分中,在第一行后面插入以下行:
p>
- Instead of acquiring the project template from VS2013, download it through the website. WRL Class Library.
- The downloaded file would be called WRLVSIXProject.vsix.
- Change the file extension. Rename it to WRLVSIXProject.zip
- Unzip the zip file.
- Open the file extension.vsixmanifest in a text editor
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屋!