Bug 30323 - Get MSBuild error under Mono 4.0.1 but not under Microsoft .Net runtime
Summary: Get MSBuild error under Mono 4.0.1 but not under Microsoft .Net runtime
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: General ()
Version: 5.9
Hardware: PC Windows
: Normal normal
Target Milestone: master
Assignee: Bugzilla
Depends on:
Reported: 2015-05-21 15:47 UTC by Ralph Bloch
Modified: 2017-05-12 19:13 UTC (History)
3 users (show)

Is this bug a regression?: ---
Last known good build:

MSBuild Output, diagnostic (19.07 KB, text/plain)
2015-05-21 15:47 UTC, Ralph Bloch

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and 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 Links.

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.

Related Links:

Description Ralph Bloch 2015-05-21 15:47:13 UTC
Created attachment 11290 [details]
MSBuild Output, diagnostic

Attempting to port legacy C# application to Mac.

Essentials of MSBuild output:



C:\Users\Dad\Documents\Visual Studio 2012\Projects\G_String_IV - Mono\G_String_Mono.csproj (Build) ->
C:\Program Files (x86)\Mono-4.0.1\lib\mono\4.5\Microsoft.Common.targets (GetReferenceAssemblyPaths target) ->

	C:\Program Files (x86)\Mono-4.0.1\lib\mono\4.5\Microsoft.Common.targets:  warning : Unable to find framework corresponding to the target framework moniker '.NETFramework,Version=v4.0,Profile=Mono'. Framework assembly references will be resolved from the GAC, which might not be the intended behavior.


C:\Users\Dad\Documents\Visual Studio 2012\Projects\G_String_IV - Mono\G_String_Mono.csproj (Build) ->

	: error : Error building target GetReferenceAssemblyPaths: UNC paths should be of the form \\server\share.
Comment 1 Parmendra Kumar 2015-08-25 08:10:03 UTC
I have tried to reproduce this issue, not able to reproduce it.
To reproduce this issue I have used Mono and getting different build error mentioned in bug description.

Screencast: http://www.screencast.com/t/Jo9M68lyYb

Error: Build failed. Unexpected binary element: 0
       Build: 1 error, 0 warnings

Please follow the screencast and let me know if I have missed anything.
Comment 2 Kirill Osenkov 2017-05-12 19:13:00 UTC
We've updated to the new versions of MSBuild so the information in this bug is likely obsolete. Please open a new bug if you're still seeing issues with the latest version.