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.
Created attachment 6082 [details]
## Steps to reproduce
Attempt to build and run the attached test project.
### Message from the Build output in Visual Studio
Exception System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
### Message in ~/Library/Logs/Xamarin/MonoTouchVS/TestApp_71f360e9-d32c-4e39-8edb-55974c1985ad.log
> [18-Feb-2014 13:35:49] Error: Tool MonoTouch.Tools.Tools.ContentCopier failed to run
> [18-Feb-2014 13:35:49] Exception: Exception type: System.InvalidOperationException
> Source file '/Users/username/Library/Caches/Xamarin/mtbs/builds/TestApp/71f360e9-d32c-4e39-8edb-55974c1985ad/bundle/default-test.png' does not exist
## Regression status
### Works on
### Fails on
This project builds and runs successfully on XamarinVS.iOS 1.8 and 1.12. Clicking the button in the running app will display the image.
Versions 1.8, 1.10, and 1.12 copy `default-test.png` into the following folder in the `mtbs` build cache:
Versions 1.8 and 1.12 also copy it to:
Brendan says this is already fixed in 1.12, let's be sure to verify.
I have checked this issue with the following builds:
Now we are able to build and deploy "Testapp" successfully.Hence verifying this issue.
Just a little additional information for any users who might come across this while waiting for version 1.12: if you pre-copy the missing resources to the build cache directory, the build will succeed. So for the attached test case, you can run the following commands on the build host before building from VS:
> mkdir -p ~/Library/Caches/Xamarin/mtbs/builds/TestApp/71f360e9-d32c-4e39-8edb-55974c1985ad/bundle/
> cp default-test.png ~/Library/Caches/Xamarin/mtbs/builds/TestApp/71f360e9-d32c-4e39-8edb-55974c1985ad/bundle/
Just ran into this problem again, upgraded to 1.12 and now it works. Thanks
*** Bug 18843 has been marked as a duplicate of this bug. ***
This seemed to fix this problem for PNG's or files set to bundle resource, but linked xib's that need to be set to interface definition to be loaded in app are not copied across even when i use the alpha channel, so it still generates
Server returned an error. The remote server returned an error: (500) Internal Server Error.
Server error code: 500
when trying to deploy because of missing xibs in the logs, but if i change them to bundle resource, they deploy ok but then cant be opening in the app.
Thanks for the bug report Neil. I've reopened the bug for you. It would be really helpful if you could provide a simple test case, it will help the developers track down the issue quicker :)
*** Bug 18373 has been marked as a duplicate of this bug. ***