Visual Studio 2005 overwrites the currentsettings.vssettings with defaults on close

Posted on 2008-11-19
Last Modified: 2013-11-27
Hi guys.  

We have a copy of VS2005 that we have made some changes to the VSSettings file,  When you make these changes and close VS2005 they are all lost and the defaults are restored.  Every time our developers wish to build on this system they have to import the settings file.  This is rather annoying as we only have 1.

Any one have any ideas?  When you make the changes to these settings you can use the program fine,  just when you close out of the IDE you lose any settings you create.

Question by:NutrientMS
    LVL 13

    Accepted Solution

    It depends on what you try to exhange.
    You should deal with VCComponents.dat file which is located in C:\Documents and Settings\myuser\Local Settings\Application Data\Microsoft\VisualStudio\8.0 under XP. For example, the options, like how to find the include files from the correct SDK, are located here. So if you want to exchange Options=>Projects=>VC++ Directories, then I propose to replace the VCComponents.dat on each machine manually (save the previous one if you want to rollback).

    Or perhaps after having imported the settings file you should also set the "Use team settings file" in Tools=>Options and then Environment=>Import and Export Settings.

    Let's have a look also here : especially in section "Share a single .vssettings file between computers"
    LVL 5

    Author Closing Comment

    Helped work around the issue but actually fixing the issue was done by manually re-entering all the settings.  This has seemed to work.  I think there may have been some corruption or invalid meta data in the file.  Thanks for the assistance.

    Featured Post

    Top 6 Sources for Identifying Threat Actor TTPs

    Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

    Join & Write a Comment

    Recently while returning home from work my wife (another .NET developer) was murmuring something. On further poking she said that she has been assigned a task where she has to serialize and deserialize objects and she is afraid of serialization. Wha…
    Wouldn’t it be nice if you could test whether an element is contained in an array by using a Contains method just like the one available on List objects? Wouldn’t it be good if you could write code like this? (CODE) In .NET 3.5, this is possible…
    This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA.…
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now