After updating Entity Framework model, Visual Studio does not see changes

前端 未结 9 1247
臣服心动
臣服心动 2021-01-30 20:07

If I do any changes to my EF 5.0 model, VS does not seem to see the changes. I have tried adding a new table, which shows up fine in the model, but then if I try to use it somew

9条回答
  •  抹茶落季
    2021-01-30 20:57

    I also had this problem, however, right-clicking on the model.tt file and running "Custom tool" didn't make any difference for me somehow, but a comment on the page Ghlouw linked to mentioned to use the menu item "BUILD > Transform All T4 Templates." which did it for me

提交回复
热议问题