MvcScaffolding 是否通过命令行与 VS 2013 RC 兼容? [英] Is MvcScaffolding compatible with VS 2013 RC by command line?

查看:19
本文介绍了MvcScaffolding 是否通过命令行与 VS 2013 RC 兼容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 NuGet 中,当我尝试安装 MvcScaffolding 时,键入:

Install-Package MvcScaffolding

我收到此错误

Set-DefaultScaffolder:无法获取 EnvDTE.DTE 的实例

这是因为 Visual Studio 2013 中的这个新的脚手架引擎而发生的吗?

解决方案

我通过电子邮件向 Scott Hanselman 发送了关于这个问题的电子邮件几周前.这是他的回应:

<块引用>我们已经发现了发生了什么,我们将发布一个固定版本,尽管我们在 VS2013 中将 Scaffolding 带入了一个新的方向,但我们仍然希望它能够工作.感谢您发现此错误.

所以我会密切关注 MvcScaffold 的新版本,它有望解决这个问题.同时,还有 VS2013 的新功能 将脚手架朝一个大大改进的方向发展,因此您可能需要调查这些.

有一个新包可用(确保以管理员身份运行 VS2013 以使其工作):

<代码>安装包 MvcScaffolding -Version 1.0.8-vs2013 -Pre

At NuGet when I try to install MvcScaffolding, by typing:

Install-Package MvcScaffolding 

I am getting this error

Set-DefaultScaffolder : Cannot get an instance of EnvDTE.DTE

Is it happening because of this new scaffolding engine in Visual Studio 2013 ?

解决方案

I emailed Scott Hanselman about this a few weeks back. Here's his response:

We've found out what's up and we are going to release a fixed version, although we're taking Scaffolding in a new direction with VS2013 we still want this to work. Thanks for finding this bug.

So I'd keep eyes peeled for a new release of MvcScaffold that will hopefully resolve this. In the mean time, there are new features for VS2013 that take scaffolding in a much-improved direction, so you may want to investigate those.

Edit: There's a new package available (make sure to run VS2013 as admin to get it to work):

Install-Package MvcScaffolding -Version 1.0.8-vs2013 -Pre

这篇关于MvcScaffolding 是否通过命令行与 VS 2013 RC 兼容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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