2

我下载了 Breeze / Angular Js 模板作为 R/D 工作的一部分:

http://www.asp.net/single-page-application/overview/templates/breezeangular-template

双击 .vsix 文件使用 Visual Studio 2012 将其打开,但作为只读二进制文件(如果有人熟悉 HxD 或类似的十六进制编辑器,它看起来有点像)。我尝试使用 Visual Studio 2010 打开它,但得到了相同的结果。

我尝试在 vs 2010 中打开 ExtensionManager,但没有发现有关导入模板的信息。我在 vs 2012 中尝试了扩展和更新(相当于 ExtensionManager ),也找不到任何关于在那里导入模板的信息。

关于我遇到的问题,我在 Google 上一无所获。

是否有不同的默认程序应该处理 .vsix 文件(例如打开方式...某种 Visual Studio 安装程序或其他东西)?

如果有人能解决这个令人沮丧的困境,那就太好了。此外,不幸的是,将电脑扔出窗外对我来说不是一个选择。

4

3 回答 3

2

The templates only work on VS 2012 R2.

This is noted (with no fanfare) in several places. Here is a quote from the MS Angular SPA template page:

The Breeze/Angular SPA template is a variation on the KnockoutJS SPA template included in the ASP.NET and Web Tools 2012.2 Update.

You download the .vsix and double-click it. That either installs it successfully ... or you have an environment problem ... such as not having VS2012.r2.

These SPA tempate VSIXs are ALWAYS SAFE to install and easy to uninstall. They do not change Visual Studio and they do not install/uninstall anything in Visual Studio itself. They are simply xcopied into a well-known directory where VS can find them. They are harmless when they fail.

于 2013-07-18T02:47:49.167 回答
1

我遇到了同样的问题,使用 shai 的 Visual Studio 版本选择器打开方法对我有用。

于 2013-07-17T09:12:04.237 回答
1

它应该安装..未打开。看起来扩展程序没有被识别。2012 的 vsix 将不会在 2010 中安装,因为格式已更改。尝试使用 Visual Studio 版本选择器..vslauncher.exe 打开它。失败我唯一能想到的就是重新安装visual studio 2012

于 2013-05-15T03:12:02.490 回答