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
It is to do with your configuration files. Just to detail the solution I found:
First save your app.config, packages.config and web.config
Then delete them all. I actually deleted app.config and packages.config and just cleared out the lines between and in the web.config.
Then I ran the Install-Package again, all went well, then I added back in my configuration.