Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report on
Developer Community or GitHub with
your current version information, steps to reproduce, and relevant error
messages or log files if you are hitting an issue that looks similar to
this resolved bug and you do not yet see a matching new report.
When I am editing in Xcode and switch back to Monodevelop, sometimes my cs file is duplicated and all my code is gone. I have to insert all outlets again and recreate all code in the cs file once again.
It is impossible for me to continue, before there is a solution to this, since it is taking to much time now, checking for this error and rewriting the hole thing again.
Which file is duplicated? Could you attach a small project in which this happened?
The designer.cs files are being copy over and over again. All Outlets are gone in the designer.cs file.
I have tried to replicate it in a small test program, with no luck.
Then I made a copy of my program and opened the designer Xcode, added 1 button and saved it.
The result was that another cs file was duplicated and the designer.cs is added. Every time I then do this, it increases.
Created attachment 2168 [details]
Error when editing in Xcode
I've just committed a fix that should prevent duplicates from being added to the project, but the .designer.cs files will probably still get overwritten.
I'll look into that next
Any chance you could attach the XcodeSync log file next time this happens to you?
You can find it in /Users/<account>/Library/Logs/MonoDevelop-3.0/Xcode4Sync-<date>.log
*** This bug has been marked as a duplicate of bug 6305 ***
*** This bug has been marked as a duplicate of bug 6375 ***