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 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.
Whenever I build my xamarin.ios app in visual studio it just deletes all the project files including the .csproj file itself.
Could you please provide environment information from "Help > About Microsoft Visual Studio"
Additionally, when this happens, could you please attach the logs from that session? You can obtain them by going to "Help > Xamarin > Zip Logs..."
The bug magically disappeared today, but It has reoccured to me a couple of times in the past as well, in case it started to appearing again I will post those info.
It sounds like this has happened to you across different versions of Xamarin.iOS. It would be helpful for tracking purposes if you could provide the build of XVS and Xamarin.iOS that you were using when this occurred.
For now, I will mark this as Not Reproducible. If you do encounter this again, please reopen the bug with the information requested in Comment 1.
Created attachment 16019 [details]
Created attachment 16020 [details]
VisualStudio Xamarin iOS Version
I am able to reproduce the behavior every time.
When I try to compile my iOS project within Visual Studio every file of my project is going to be deleted. I made two attachments with the requested informations.
Thank you for providing the version data and zipped logs. I am sorry to hear that you are experiencing this issue.
Could you please attach a diagnostic build output of this problem occurring using your reproduction? This can be enabled through "Tools > Options > Projects and Solutions > Build and Run", and then setting the build verbosity to diagnostic.
Created attachment 16035 [details]
Build and Run Diagnostic log file
sorry for my delayed answer.
I attached the Diagnostic log file.
I can reproduce the same deleting behaviour during the clean up process.
Hope you can help.
Hi Peter, it would be great if you could check the following extra items:
1. Can you reproduce the issue with an empty app? Or any app you can attach/upload to this bug?
2. The files are also deleted if you build the app disconnected from the Mac Server?
3. Could you please add or rename a file with an "easy to find" name and check in the build output where it's being deleted?
1.) Unfortunately I can not reproduce the issue with an empty app.
2.) After I have disconnected the connection betwenn the mac and the windows machine I can clean up and build the project without deleting the files.
after I could build the solution successfully I've created the connection to the mac again. In the VS output window I could see that automatically the process "clean target(s)" is started and all files are deleted after the process has finished.
Peter: please let us know if you're still able to reproduce the issue. In the meantime I will mark the bug as resolved. Thanks, Adrian