【发布时间】:2015-01-13 14:27:52
【问题描述】:
我正在按照以下视频使用 SideWaffle 构建 VSTO 项目模板:
How to create Visual Studio project templates with TemplateBuilder and SideWaffle
我添加了一个现有(新)存根 VSTO 项目,将其设置为不在调试和发布中构建,但是当我按 Ctrl+F5 启动实验性 VS 实例时,我收到以下三个构建错误:
Could not copy the file "c:\users\john\documents\visual studio 2013\Projects\VisioVstoTemplate\VisioVstoTemplate\.NETFramework,Version=v4.5" because it was not found. VisioVstoVSIX
Could not copy the file "c:\users\john\documents\visual studio 2013\Projects\VisioVstoTemplate\VisioVstoTemplate\Microsoft.VSTORuntime.4.0" because it was not found. VisioVstoVSIX
Could not copy the file "c:\users\john\documents\visual studio 2013\Projects\VisioVstoTemplate\VisioVstoTemplate\Microsoft.Windows.Installer.4.5" because it was not found. VisioVstoVSIX
所以问题是:
- 为什么首先要寻找这些先决条件以及
- 如何防止错误发生?
(使用 Visual Studio 2013 Ultimate(更新 4)、SideWaffle 1.15 和 TemplateBuilder 1.1.2-beta5)
【问题讨论】:
-
我从未测试过 VSTO 项目。请打开问题github.com/ligershark/side-waffle/issues 并附上示例。
标签: visual-studio-2013 vsto vsix sidewaffle