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
GitHub or 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 15530 [details]
This is an excerpt from a test.csproj file.
I was trying to convert working MSBuild tasks to XBuild ones (e.g. had to change Move to Copy since Xbuild doesn't have that) when another issue popped up: XBuild doesn't handle metadata contained in items. See below.
MSBuild copies all resources in their appropriate subfolders, e.g. "$(TargetDir)\ru\test.resources.dll" to a folder of my choosing (e.g. folder named "languages"), resulting in following structure: "$(TargetDir)\languages\ru\test.resources.dll", whereas XBuild creates a folder named "@(_OutDirItem->'%(FullPath)')languages" (see attachment for clarity) in the project root and copies given resource there (not caring for subdirectory this file was in!).
I'm hoping this will be resolved soon.
Can confirm, have the same issue, MSBuild is working as expected.
We deprecated xbuild and recommend using msbuild instead. Switching to msbuild will also most likely resolve the issue you reported.