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 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 22347 [details]
IDE_Logs and screencast
Android application is not getting deployed in Release mode.
Reproducing Steps :-
1. Open VS
2. Create a Android application.
3. Change the Configuration to Release Mode.
4. Build the application
5. Go to Debug -> Start without Debugging
Actual Result :-
The application is not getting deployed in Release mode on emulator
Error observed in logs :-
System.Runtime.InteropServices.COMException (0x80004005): Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL))
at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at Microsoft.VisualStudio.ErrorHandler.ThrowOnFailure(Int32 hr, Int32 expectedHRFailure)
at Microsoft.VisualStudio.Shell.Flavor.FlavoredProjectBase.GetGuidProperty(UInt32 itemId, Int32 propId)
at Xamarin.VisualStudio.Android.MonoAndroidFlavoredProject.GetGuidProperty(UInt32 itemId, Int32 propId) in C:\d\lanes\4699\70f1268e\source\xamarinvs\src\Core\VisualStudio.Android\ProjectSystem\MonoAndroidFlavoredProject.cs:line 335
Expected Result :-
The application should get deployed in Release mode on Emulator
Supplemental Info :-
Microsoft Visual Studio Ultimate 2013
Version 12.0.31101.00 Update 4
Microsoft .NET Framework
Xamarin 18.104.22.1685 (70f1268)
Xamarin.Android 22.214.171.124 (bc24645)
Xamarin.iOS 10.10.0.35 (4cffddf)
Build Information :-
Screen cast link :-
*** This bug has been marked as a duplicate of bug 56485 ***
I marked this as a duplicate of 56485 because the stack trace is the same and the behaviors are similar.
Have you ensured that the project is marked for deployment in the configuration manager?