Is there a way to export settings for C# formatting at a project level so that we can put the settings file on a repository and everyone can use it without affecting other projects that are using different formatting styles?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For Visual Studio C# environment
settings, you can Export them
from Tools->Import and Export
Settings->Export Selected Environment
Settings, then save the file.
You can store this file somewhere on
the network, in Source Safe or TFS.
Then the other devs who want to use
those settings will Import them
Tools->Import and Export
Settings->Import Select Environment
Settings, select the file and press
import.
It can also be loaded from command
line, or a desktop shortcut
Consider the Code Analysis Policy
Editor in Check-In Policies.
If what you are looking for is not
built in, you might need to look for
an Add-in, CodePlex has over 500
of them. If you don’t find it, you
might have to make Make one.
Another possible solution is to bring
the teams together in a coding
standard meeting where they can agree
on a common coding standard,
then use a tool like
CodeIt.Right to do the code
refactoring automatically.