Halcyon
Halcyon

Reputation: 14941

Saving Visual Studio's Configuration Manager Settings Locally

would like to add my own configuration settings in Visual Studio 2010. I opened the configuration manager, created the profile I wanted and noticed that the settings are stored in the .csproj file. I would like to keep these settings local to my own box. Our source control currently checks in .csproj files and so if I checked these changes in, my entire team would be affected. Does anyone know if it's possible to create configuration settings that are local to your own dev box?

Edit: Adding a screenshot of the configuration manager. It's these settings I want to save locally.

Configuration Manager

Upvotes: 8

Views: 8298

Answers (2)

cookieMonster
cookieMonster

Reputation: 597

Why not just save all this to a diffrenet solution file and use it, while others will use old one?

Upvotes: 3

Grant Winney
Grant Winney

Reputation: 66501

You've got a csproj file and a csproj.user file.

Visual Studio places settings in the user file that can be different per user without affecting the entire team's development (like whether the Show All Files button is clicked). You wouldn't check this file in, and deleting it might be an inconvenience but it won't affect the program.

Visual Studio places settings in the csproj file itself that will affect your team's development (such as which classes are part of the project, references to DLLs, and the targeted framework version). You have to check this file in when changes are made, and deleting it would definitely affect your program.

This is based on my own understanding and experience. Maybe if you list which settings you'd like kept out of the csproj file, someone else on here will be able to list a workaround...

Upvotes: 1

Related Questions