none
VS2012 Code analyse failing on mvc4 project

    Question

  • Analyse is failing, but project and all assembly can be compliled and working...

    I do not know what is the reason.

    What was done wrong and how I can observe the reason?

    CA0052 Error Running Code Analysis
    CA0052 : No targets were selected.
    [Errors and Warnings] - (Global)

    CA0058 Error Running Code Analysis
    CA0058 : The referenced assembly 'System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be found. This assembly is required for analysis and was referenced by: D:\src\sanbox\trunk\AbbyyLS.TestCase\AbbyyLs.CAT.Api.WebApi\bin\AbbyyLs.CAT.Api.WebApi.dll, D:\src\sanbox\trunk\AbbyyLS.TestCase\packages\Microsoft.AspNet.WebApi.Core.4.0.20710.0\lib\net40\System.Web.Http.dll.
    [Errors and Warnings] - (Global)

    CA0055 Error Running Code Analysis
    CA0055 : Could not load D:\src\sanbox\trunk\AbbyyLS.TestCase\AbbyyLs.CAT.Api.WebApi\bin\AbbyyLs.CAT.Api.WebApi.dll. The following error was encountered while reading module 'System.Web.Http': Assembly reference cannot be resolved: System.Net.Http, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a.
    [Errors and Warnings] - (Global)


    • Edited by SychevIgor Monday, February 25, 2013 2:46 PM
    Monday, February 25, 2013 2:41 PM