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.
Observed in both 15.2 and player branch.
1a. Create a Visual C# -> Cross Platform -> Xamarin.Forms -> Master/Detail project. (the labels may be slightly different...I have no templates installed today, but checked this on 15.2 yesterday)
1b. Alternatively, take any Android project and remove <AndroidUseSharedRuntime>True</AndroidUseSharedRuntime> from the debug configuration.
2. Go to Android project properties in Visual Studio -> Android Options
3. Observe "Use Shared Runtime" checkbox.
"Use Shared Runtime" should be checked. AndroidUseSharedRuntime is true by default.
"Use Shared Runtime" is unchecked. Build/deploy behaves as if AndroidUseSharedRuntime is true, though (as far as I can tell...Inspector should not work, otherwise).
The problem is not with the templates. VSmac Android templates all exclude AndroidUseSharedRuntime from the Debug property group, and properly treat the value as True. For some reason, XVS Android templates mostly have an explicit <AndroidUseSharedRuntime>True</AndroidUseSharedRuntime> line. This should not be necessary.
Created attachment 22587 [details]
Fixed via f19d652425616ca1db5d9d917e21849e620cc627
Fixed in version 18.104.22.1686 (d15-2)
Commit: fec6f88f9fb3d03e70509d7b28eed3c79390ebb0 (xamarin/XamarinVS)
## Verification status: verified fixed in XamarinVS 22.214.171.1246 in the Xamarin 15.2.2 release and Visual Studio 2017 version 15.2 (26430.13)
> GOOD: XamarinVS (60c3d0e) [*] + Visual Studio 2015 Update 3
> GOOD: XamarinVS 126.96.36.1996 (fec6f88) + Visual Studio 2017 version 15.2 (26430.13)
> GOOD: XamarinVS 188.8.131.526 (fec6f88) + Visual Studio 2015 Update 3
> BAD: XamarinVS 184.108.40.2061 (cb14994) + Visual Studio 2017 Preview version 15.3.0 Preview 2.0
> BAD: XamarinVS 220.127.116.116 (1be4f0c) + Visual Studio 2015 Update 3
[*] Unpublished development build for the 15.3 target milestone