I'm building an iOS Xamarin app from the command line. The *designer.cs files have been removed.
What command do I run to regenerate the *.designer.cs files?
I'm building an iOS Xamarin app from the command line. The *designer.cs files have been removed.
What command do I run to regenerate the *.designer.cs files?
Encountered in Xamarin Studio 6
Based on this forum thread the fairly awkward sequence that worked for me was
bin
and obj
directoriesThere are actually 3 questions in this topic:
If you want to build from command line is explained in this topic: How do you do a command line build of a Xamarin.iOS project?
To ignore *.designer.cs you can add a pattern to your .git file called git ignore: http://git-scm.com/docs/gitignore
To regenerate the designer files you can simply rebuild your solution.
For Xamarin Studio 5.8, if you edit the file that originated the designer.cs, save again and rebuild the project it will regenerate the designer.cs