Scaffolding controller doesn’t work with visual studio 2013 update 2

Hey for all of you that nothing works, the real answer is you need to remove ANYTHING that has a configSource on the web.config and the connection string needs to be inlined.

EDIT:

Someone pointed out that it needs to be only <configSettings>, <appSettings>, and <connectionStrings> tags NOT using a configSource attribute. And that he was still able to use configSource attributes elsewhere, such as the rewriter tag.

I think it’s that the tooling cannot follow configSource locations for the stuff it uses like connection strings and application settings.

Microsoft should be on this issue if not fixed yet.

EDIT 2:

Even thought @awrigley has marked his answer as correct it’s a known Visual Studio bug. I’ve managed to tell then and I think it will get some attention soon.
https://github.com/aspnet/Tooling/issues/169#issuecomment-144197015

Leave a Comment