Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Cannot create a file when that file already exists on rebuilding project

I'm testing OneSignal in my Xamarin.Forms project, First time when I create my project and add OneSignal nuget package to it everything is ok and I can run and build my project but when I close and reopen Visual Studio it seems my project is broken and not build anymore: Cannot create a file when that file already exists.

Is anyone know what should I Do?

like image 417
AmirHossein Fathi Avatar asked Dec 01 '25 01:12

AmirHossein Fathi


1 Answers

I had the same issue after installing a Preview of Visual Studio. I resolve this by deleting all the files in C:\Users\username\AppData\Local\Xamarin\MonoTouch

Hope this helps you or someone else.

like image 165
user20230667 Avatar answered Dec 02 '25 15:12

user20230667



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!