Ctrl-S in web.config in Visual Studio closes web.config file
Ok a couple of weeks ago I started having some strange behavior in Visual Studio: Whenever I've been editing web.config in Visual Studio and then press the Ctrl-S key to save the file the web.config file closes. This is pretty annoying if you're working with the web.config file a lot as I do <s>...
Anyway, according to Omar Khan from Microsoft it turns out the problem is due to a bug in the ADO.NET Entity Framework Designer Tools, which I had installed shortly after installing the ASP.NET 3.5 Extensions that include the ADO.NET Entity framework. The tools are a seperate install from the ASP.NET 3.5 Extensions and they are responsible for providing the diagramming support in Visual Studio. Uninstalling just the Designer Tools solves the web.config issue. This will be fixed in future release but for the moment this particular issue is affecting me too much to leave the designer tools installed.
I've mentioned this in a previous post, but figured I'd repost it here in a more visible spot as a few people seem to have run into this same issue.
Other Posts you might also like
The Voices of Reason
# re: Ctrl-S in web.config in Visual Studio closes web.config file
Web.config has become a mess, and it is my understanding that we need a new version of the CLR before they can move all that crap back to the machine level by default.
Anyway, thanks for the tip!
# re: Ctrl-S in web.config in Visual Studio closes web.config file
# re: Ctrl-S in web.config in Visual Studio closes web.config file
# re: Ctrl-S in web.config in Visual Studio closes web.config file
# re: Ctrl-S in web.config in Visual Studio closes web.config file
# re: Ctrl-S in web.config in Visual Studio closes web.config file
# re: Ctrl-S in web.config in Visual Studio closes web.config file
Microsoft.Data.Entity.Design.dll
Microsoft.Data.Entity.Design.EntityDesigner.dll
Microsoft.Data.Entity.Design.Package.dll
After backing up these files, delete them and restart Visual Studio 2008. You will get a message like the following that explains how to re-enable them when you want to play around with the designer:
---------------------------
Microsoft Visual Studio
---------------------------
Package Load Failure
Package 'Microsoft.Data.Entity.Design.Package.MicrosoftDataEntityDesignPackage, Microsoft.Data.Entity.Design.Package, Version=1.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' has failed to load properly ( GUID = {8889E051-B7F9-4781-BB33-2A36A9BDB3A5} ). Please contact package vendor for assistance. Application restart is recommended, due to possible environment corruption. Would you like to disable loading this package in the future? You may use 'devenv /resetskippkgs' to re-enable package loading.
---------------------------
Yes No
---------------------------
# re: Ctrl-S in web.config in Visual Studio closes web.config file