本文介绍了的Visual Studio 2013脚手架错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用VS 2013 RTM最终,当我尝试将控制器添加到我的MVC 5项目中,我得到以下错误:

I'm using VS 2013 RTM Ultimate, and when I try to add a Controller to my MVC 5 project I get the following error:

有运行选定code产生一个​​错误:参数searchFolders不包含任何条目提供至少一个文件夹中搜索文件。

"There was an error running the selected code generator: 'The Parameter searchFolders does not contain any entries. Provide at least one folder to search files.'

在架子工没有工作基本上都给予同样的错误...试图rebuidling /清洁等,并仍然得到错误。

None of the scaffolders work basically, all giving the same error... Tried rebuidling / clean etc and still get error.

更新10月28日:
看起来是具有T4Scaffolding安装的问题。看起来他们是在一个固定的工作。

Update Oct 28:Looks like it is a problem with having T4Scaffolding installed. Looks like they are working on a fix.

推荐答案

如果您最近安装了一个包T4Scaffolding依赖(例如MVCMailer使用T4Scaffolding.Core)
那么你可以卸载T4Scaffolding.Core并重新启动VS 2013注意MvcMailer造成这在我的情况下,将无法正常工作在2013年最好是检查你的引用或包嫌疑人。

If you have recently installed a package with T4Scaffolding dependency (ex. MVCMailer uses T4Scaffolding.Core), then you can uninstall T4Scaffolding.Core and restart VS 2013. Notice that MvcMailer which caused this in my case, won't work in 2013. Best is to check your references or packages for suspects.

这篇关于的Visual Studio 2013脚手架错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-14 19:31