daryllabar / DLaB.Xrm.XrmToolBoxTools

Plugins for the XrmToolBox
MIT License
78 stars 70 forks source link

<auto-generated> comment section is generated in different languages #296

Open Martype opened 3 years ago

Martype commented 3 years ago

EarlyBoundGenerator V 1.2021.6.14

When we create the .cs files the "auto-generated" comment section at the top of each .cs file for some colleagues is generated in English and for others in German. Apparently this produces a lot of unnecessary git commits. Is there a way to set the language for that generated comment?

To Reproduce I guess it might be about the language of the Windows OS. We all use the English version of Visual Studio, but some have German Windows 10 OS and others have an English Windows 10 OS.

Expected behavior Have the same language for the "auto-generated" comment section each time a .cs file generated or updated.

Screenshots image

daryllabar commented 3 years ago

Oh the joys of languages. So I don't explicitly generate the comments, it is either the crmsvcutil or the .net framework itself.

So for troubleshooting, any chance that this applies: https://social.msdn.microsoft.com/Forums/vstudio/en-US/cd7d0132-3d57-4fd7-ad42-35866c94af62/how-to-maintain-language-specific-comments-after-targetframework-change?forum=netfxbcl ?

I'm thinking the simplest thing I can do is provide an option to remove the comments from the code since I'm not sure how it is generated, or maybe always make it English? Thoughts?

Martype commented 3 years ago

Hi, I'd appreciate both, an "always English" option and/or an "no comments" option. Whatever is possible here and helps preventing unneccessary commits :-)