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.
We've created a Class Library including some Activities. There are also some Assets (AndroidAsset) included in the class library which are used by the activities. We structured the Assets in Sub Folders (e.g assets\Documents, assets\Images).
Now when we reference the class library in an App there is an issue with the Folder structure. When I look in the obj\debug Directory of the App I can see that the assets were extracted from the class library, but the Folder sturcture get lost.
I have checked this issue and able to reproduce it.
I have reproduced it with follwoing steps :
1. Create an empty solution.
2.Add a Mobile Apps/Class library project.
3.Add a Assets folder.In asset folder add two directories Image and document.
3.Add file in Image and Document.
4.Add a Mobile Apps/ Blank Apps PCL project.
5.Give reference of class library to PCL project.
6.Build the Solution.
7.Go to PCL Project right click open file ,then obj/debug
I observed that Folder structure was lost.
Created attachment 7771 [details]
This is a build system bug, and not related to or requiring PCL projects. Android Library projects also trigger this behavior.
1. Download Attachment #7771 [details]
4. Check obj/Debug/assets:
$ find obj/Debug/assets -type f
Expected output: it should be:
Fixed. Thanks for the report.
Great. One more thing about the issue...
Today I checked what happens if I link a File and set it to be an Asset (Visual Studio File Link). The Folder Structure got also lost/corrupted.
Can you confirm that behavior? And did or can you fix it too?
Thanks and regards
I have checked this Issue and observed that
I have followed all steps and observed that after build the project using command line I am getting assests under obj/Debug/Android after running command 'find obj/Debug/Android/assets -type f' I am getting following output: https://gist.github.com/saurabh360/6f57cd69bc9b7ed44953 Please let me know is it correct behaviour?
I have followed steps mentioned in this comment and observed that folder structure does not get lost/corrupted. This is the screencast for the same: http://www.screencast.com/t/rCrbTTCn
X.S 5.5 (Build 203)