Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Should Resources.Designer.cs be under source control?

I have Resources.resx, which is used to generate Resources.designer.cs. Should Resources.designer.cs be checked in, or can I rely on Visual Studio generating it when required?

like image 867
Roger Lipscombe Avatar asked Feb 04 '10 14:02

Roger Lipscombe


People also ask

What is resource designer CS?

designer. cs – This file is automatically generated and maintained by Xamarin. Android and holds the unique ID's assigned to each resource. This is very similar and identical in purpose to the R.

What is the settings designer CS?

Answers. The Settings. designer. cs file is the automatically-generated settings that you edit in the Settings.


1 Answers

My preference is: If it's modified by the build system, ensure the build process will create it and don't check it in.

For autogenerated files like 'designer', I check them in. They only get modified when other components get changed (by me). It's generated by VS and not modified by the build system.

like image 85
QuinnG Avatar answered Oct 01 '22 12:10

QuinnG