How to change language of designer files in Visual Studio

Does anybody know how to change the language of the (automatically generated) designer files in Visual Studio without changing the language of the UI?

Background: the members of my team use german and english Visual Studios. The problem is (svn-) merging the designer files with comments in two different languages. Whenever a member changes a web form, the designer file is re-generated and the comments are changed to the member's language.

-------------Problems Reply------------

I don't know a straightforward way to do this, but in the following folder (this is for Visual Studio 2010) you'll find a lot of .zip files:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Web\1033

For example WebForm.zip contains the following files:

  • Default.aspx
  • Default.aspx.cs
  • Default.aspx.designer.cs (this is your bad guy)
  • WebForm.vstemplate

These are your Visual Studio template files. You could change them manually to be the same on all developer workstations. Or in your case, you might just want to copy and override the entire folder from an English Visual Studio installation.

Category:visual studio Views:0 Time:2010-02-19

Related post

Copyright (C) dskims.com, All Rights Reserved.

processed in 0.239 (s). 11 q(s)