Bug 10585 - Xamarin Studio on Windows not using .NET/MSBuild to build Xamarin.Android Projects
Summary: Xamarin Studio on Windows not using .NET/MSBuild to build Xamarin.Android Pro...
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Android Add-in ()
Version: unspecified
Hardware: PC Mac OS
: --- normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-02-22 13:40 UTC by Jonathan Pryor
Modified: 2016-08-03 15:37 UTC (History)
3 users (show)

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

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 Jonathan Pryor 2013-02-22 13:40:47 UTC
Xamarin Studio on Windows appears to not use .NET/MSBuild to build Xamarin.Android Projects:


At least, that's the only reason I can think of that it would be using an $(MSBuildExtensionPath) of 'C:\Program Files\Mono-2.10.9\lib\mono\xbuild' (1540) or trying to use gmcs.bat for the compiler (1508).
Comment 1 Jonathan Pryor 2013-02-22 13:49:49 UTC
Current hypothesis is that the "wrong" runtime is being used.

Please do the following:

1. Click Tools > Options...
2. In the left-hand tree, select Projects > .NET Runtimes


3. Please make sure that the Microsoft .NET entry is the default.

If Microsoft .NET is _not_ the default, please select it, click the Set as Default button, click OK, and restart Xamarin Studio.
Comment 2 Mikayla Hutchinson [MSFT] 2013-02-22 16:32:35 UTC
Yes, in the linked trace they're using Mono, not .NET.
Comment 3 narayanp 2013-03-07 06:32:35 UTC
Today we have checked this issue with following builds:

X.S 4.0 - 1645b898271456799b70944c8b356ed6c5c00fdf
MFA 4.6.1

It is using .Net when build the project.

Changing the status to Verified.