Code Analysis fails when using exposed type from Portable Class Library - by Edward D. Brey

Status : 

  Won't Fix<br /><br />
		Due to several factors the product team decided to focus its efforts on other items.<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 777463 Comments
Status Closed Workarounds
Type Bug Repros 4
Opened 1/24/2013 8:09:53 PM
Access Restriction Public


In a solution with two projects:

Project 1: A Portable Class Library supporting .NET 4.5 and Silverlight 5, which exposes a field or property of type from the .NET Portable Subset. 

Project 2: A .NET 4.5 Class Library that consumes the field/property from Project 1.

The solution compiles fine; however, Code Analysis fails for Project 2.
Sign in to post a comment.
Posted by Thomas Stocker li on 5/19/2013 at 2:44 PM
I found a workaround for the problem see in the other tab

Sincerly Thomas
Posted by Microsoft on 4/16/2013 at 12:12 PM
Hi Edward,

Thank you for taking the time to give us feedback. We won't be able to fix this Code Analysis issue for Portable Class Libraries in our next release of Visual Studio. We’ll continue to consider it for future releases.

Thank you,
Layla Driscoll
Sr. PM Lead, Microsoft Managed Languages
Posted by Microsoft on 1/25/2013 at 12:43 AM
Thanks for your feedback.

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 Microsoft on 1/24/2013 at 8:50 PM
Thank you for your feedback, we are currently reviewing the issue you have submitted. If this issue is urgent, please contact support directly(