Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 Add controller with Context fails when connectionstring configSource in place

Working with VS 2012 + MVC4 + EF5 trying to add controller with Context fails when connectionstring configSource in place with Error :

"Unable to retrieve metadata for MvcTestApp.Models.DummyClass. Unable to open configSource file 'connections.config'.

BTW: The path is correct the application actually runs correctly.

Does Visual Studio 2012 EF5 support connectionStrings configSource to be in a separated file at design time ? or no way during development !!!

Thanks for your feedback.

like image 509
ronnymgm Avatar asked Oct 04 '22 15:10

ronnymgm


1 Answers

I have the same problem. I solved it putting a copy of 'connections.config' in

C:\Users\[CurrentUser]\AppData\Local\Temp.

Hope this help you.

like image 141
George Avatar answered Oct 13 '22 10:10

George