Bug 9790 - Signing Error Could not find msbuild.exe on Windows 8
Summary: Signing Error Could not find msbuild.exe on Windows 8
Alias: None
Product: Visual Studio Extensions
Classification: Xamarin
Component: Android ()
Version: 3.0
Hardware: PC Windows
: High normal
Target Milestone: ---
Assignee: Bugzilla
Depends on:
Reported: 2013-01-25 09:58 UTC by Allie Miller
Modified: 2015-10-19 09:48 UTC (History)
6 users (show)

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

MS Build error (25.56 KB, image/jpeg)
2013-01-25 09:58 UTC, Allie Miller
SystemNullReference Error message (18.73 KB, image/jpeg)
2013-01-25 09:58 UTC, Allie Miller

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 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 Allie Miller 2013-01-25 09:58:21 UTC
Created attachment 3284 [details]
MS Build error

When trying to compile an older third party solution,and using an older version of the monoadroid (4.0.6) unable  to create the package. After the device selection step, the msbuild give the “not found” error (attached to this bug). Using using a third party sdk, and trying to compile and debug solution with the new version, yet it results in multiple errors. The older setup file gives multiple errors as well.

Attempted to remove and re-install all the components in the specified order.
But when attempted to try to debug the project on the device, still receive the same error

When the Android Debug log was run, when debugging runs, the log stops writing.

Also checked that the path existed in that registry key: Only had the key (HKEY_LOCAL_MACHINE\Software\Microsoft\ASP.NET\4.0.30319.0\) but the Path string was not there.
Also tried to add it manually but it doesn’t work.

In addition, also tried to install the latest version of Mono for Android and tried to deploy a test project on the device: it worked fine. Instead, since installing the 4.0.6 version to work on our solution, it started showing the MSBuild error.

Both errors attached.
Comment 1 Allie Miller 2013-01-25 09:58:55 UTC
Created attachment 3285 [details]
SystemNullReference Error message
Comment 2 Jonathan Pryor 2013-05-22 15:30:45 UTC
@Dominique: Are we still explicitly launching `msbuild.exe` as a separate process? This bug may be moot/fixed.
Comment 3 Marek Habersack 2014-07-30 11:36:59 UTC
This bug is most likely fixed since VS now uses the in-process msbuild engine. Daniel, can you confirm and close the bug if it is so?
Comment 4 Akhilesh kumar 2015-07-21 13:26:11 UTC
As we are not getting any response since 2014-07-30. So I am closing this issue.