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

后端 未结 16 3149
别跟我提以往
别跟我提以往 2020-11-27 03:54

PROBLEM:

I have updated to Visual Studio 2013 update 2 and now I cannot scaffold controllers.

The problem is not project specific: when I try to scaffold

16条回答
  •  [愿得一人]
    2020-11-27 04:19

    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 , , and 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

提交回复
热议问题