Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

VS2012 Error from Entity Data Model: "Could not parse configuration file."

I have .NET C# project that uses Entity Framework 4.0. When I load the project in Visual Studio, I get a message every time in my Output window:

Could not parse configuration file. The error message is: 'An item with same key has already been added.'. Try editing the file manually then saving it.

The "Show output from:" dropdown is set to Entity Data Model.

This doesn't seem to be affecting functionality anywhere, but I've been receiving this message for months and have not been able to track it down. Any help would be appreciated.

Thanks.

like image 282
MegaMatt Avatar asked Jan 22 '26 22:01

MegaMatt


1 Answers

I was getting a very similar error message, turns out a bad source control merge added some extra characters to my web.config.

like image 123
Andy Mehalick Avatar answered Jan 25 '26 05:01

Andy Mehalick



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!