Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
501 views
in Technique[技术] by (71.8m points)

nuget package - Is MvcScaffolding compatible with VS 2013 RC by command line?

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 ?

enter image description here

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...