Microsoft.AspNet.WebApi.Core does not contain satellite System.Net.Http assembly - by Argotic

Status : 

  Not Reproducible<br /><br />
		The product team could not reproduce this item with the description and steps provided.<br /><br />
		A more detailed explanation for the resolution of this particular item may have been provided in the comments section.


3
0
Sign in
to vote
ID 760208 Comments
Status Closed Workarounds
Type Bug Repros 2
Opened 8/29/2012 10:27:06 AM
Access Restriction Public

Description

Adding the Microsoft.AspNet.WebApi.Core NuGet package to a .NET 4.5 project that has a reference to the .NET 4.5 System.Net.Http assembly causes a CA0058 code analysis error.

The CA0058 code analysis error surfaces like that described in http://goo.gl/zEvW1

The work around for the analysis error is to copy the System.Net.Http.dll contained in the Microsoft.Net.Http NuGet package (net40) directory to the packages\Microsoft.AspNet.WebApi.Core\lib\net40 directory.
Sign in to post a comment.
Posted by Microsoft on 9/7/2012 at 1:27 AM
I am having trouble reproducing your issue. Can you share a sample project on which you are seeing this problem?

Thanks
Posted by Microsoft on 8/29/2012 at 11:42 PM
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 8/29/2012 at 10:51 AM
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)