Error when generating database from model in Visual Studio 2013

前端 未结 2 786
一向
一向 2021-01-26 15:54

I have installed VS2013 but still have VS2012. In VS2013 I cannot generate a database from a model in Entity Framework. I get the following error message:

相关标签:
2条回答
  • 2021-01-26 16:34

    Your tip about checking the drive made me see what I should have seen before. The environment variable VS120COMNTOOLS had the wrong drive letter. Can't remember, but I initially installed VS2013 on another drive and then changed it back to C. Anyway setting it correctly fixed the problem. /Peter

    0 讨论(0)
  • 2021-01-26 16:40

    I believe VS is not updating the VS120COMNTOOLS variable correctly when reinstalling VS to a different drive. See this SO thread for an extended answer.

    0 讨论(0)
提交回复
热议问题