Bug 44699 - Build Warning raised "Assuming assembly reference `System.Runtime, Version= matches assembly `System.Runtime, Version=" You may need to supply runtime policy (CS1701)
Summary: Build Warning raised "Assuming assembly reference `System.Runtime, Version=4....
Status: RESOLVED DUPLICATE of bug 44193
Alias: None
Product: Android
Classification: Xamarin
Component: MSBuild ()
Version: 7.1 (C9)
Hardware: PC Mac OS
: Normal normal
Target Milestone: 7.1 (C9)
Assignee: dean.ellis
Depends on:
Reported: 2016-09-23 18:49 UTC by Manish Sinha
Modified: 2016-11-11 10:57 UTC (History)
1 user (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 Manish Sinha 2016-09-23 18:49:22 UTC
Steps to reproduce

1. Create an Android app
2. Build

Expected: No warnings
Actual: A warning is raised about System.Runtime version without runtime policy

> Assuming assembly reference `System.Runtime, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' matches assembly
> `System.Runtime, Version=, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
> You may need to supply runtime policy (CS1701)

Build output: http://xqa.blob.core.windows.net/gist/log-f863362eb2654b30ad281add450fa0a7.txt

XS Info: http://xqa.blob.core.windows.net/gist/log-5cab43449b724ba68349d44998c38226.txt
Comment 1 dean.ellis 2016-11-11 10:57:59 UTC
Fixed in xamarin-android/master/78b0ff92

*** This bug has been marked as a duplicate of bug 44193 ***