Type unification in Microsoft.Bcl fails - by Stephen Cleary

Status : 

  Fixed<br /><br />
		This item has been fixed in the current or upcoming version of this product.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.

Sign in
to vote
ID 773453 Comments
Status Closed Workarounds
Type Bug Repros 0
Opened 12/4/2012 1:25:21 PM
Access Restriction Public


If a non-portable library (e.g., net45) references a portable library that returns a type provided by Microsoft.Bcl, then I get the following errors:

...\PortableClassLibrary1.dll : warning CS1684: Reference to type 'System.Tuple`2' claims it is defined in 'd:\Temp\Projects\ClassLibrary5\packages\Microsoft.Bcl.1.0.11-beta\lib\net40\System.Runtime.dll', but it could not be found
...\ClassLibrary1\Class1.cs(12,20,12,61): error CS0570: 'PortableClassLibrary1.Class1.Test()' is not supported by the language
Sign in to post a comment.
Posted by Deon [MSFT] on 4/29/2014 at 12:31 PM
Thank you for reporting this issue. This issue has been fixed in Visual Studio 2013. You can install a trial version of Visual Studio 2013 with the fix from: http://go.microsoft.com/?linkid=9832436
Posted by David [MSFT] on 1/8/2013 at 3:05 PM
Thanks for the bug report, I've confirmed that this is a real issue - we're missing a type forward in System.Runtime.dll for Tuple<T1, T2>.

This will be fixed by the next update of the package.
Posted by Microsoft on 12/10/2012 at 2:26 AM
Thanks for your response. We are rerouting this issue to the appropriate group within the Visual Studio Product Team for triage and resolution. These specialized experts will follow-up with your issue.
Posted by Stephen Cleary on 12/5/2012 at 5:27 AM
OK, I uploaded it to:

Password: Z1_)G37MTk
Posted by Microsoft on 12/4/2012 at 7:07 PM
Thank you for submitting feedback on Visual Studio and .NET Framework. In order to efficiently investigate and reproduce this issue, we are requesting additional information outlined below.

Could you please give us a demo project to demonstrate this issue so that we can conduct further research?

Please submit this information to us within 4 business days. We look forward to hearing from you with this information.

Microsoft Visual Studio Connect Support Team
Posted by Microsoft on 12/4/2012 at 1:51 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(http://support.microsoft.com)