Visual Studio 2013 Scaffolding Error

前端 未结 9 773
小鲜肉
小鲜肉 2021-01-31 09:23

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:

\"There was an error running the selected code generat

9条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-31 09:31

    I'm facing same situation with you. what i did was

    1. open packages.config remove T4Scaffolding.Core and T4Scaffolding

    2. Reinstall those packages Install-Package T4Scaffolding and Install-Package T4Scaffolding.Core

    3. Close VS2013 and reopen and you should able to scaffold again

    Good Luck!

提交回复
热议问题