I keep trying to install the entity framework 6 and it always rolls back with the error of
error: This operation would create an incorrectly structured docum
I had the same problem. It turned out that I was adding EF to one of my really old projects and web.config had this namespace defined for element:
Removing that namespace declaration (xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0") helped and solved this issue.
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0"