Quantcast
Channel: ASPNETWebStack Issue Tracker Rss Feed
Viewing all articles
Browse latest Browse all 7215

Commented Issue: Code Analysis Fails with DotNetOpenAuth.AspNet 4.1.0.0 [443]

$
0
0
I have a web project with Microsoft.AspNet.WebPages.OAuth 2.0.20710.0 and the project includes DotNetOpenAuth.AspNet, Version=4.1.0.0 and it has all the proper web.config runtime settings however when I build with code analysis I get CA0001 and CA0058 errors:<br /><br />MSBUILD : error : CA0001 : The following error was encountered while reading module 'Microsoft.Web.WebPages.OAuth': Assembly reference cannot be resolved: DotNetOpenAuth.AspNet, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246. <br /><br />MSBUILD : error : CA0058 : The referenced assembly 'DotNetOpenAuth.AspNet, Version=4.0.0.0, Culture=neutral, PublicKeyToken=2780ccd10d57b246' could not be found. This assembly is required for analysis and was referenced by: C:\dev\bond\drax\Main\src\Drax.Web.Site\bin\Drax.Web.Site.dll, C:\dev\bond\drax\Main\src\packages\Microsoft.AspNet.WebPages.OAuth.2.0.20710.0\lib\net40\Microsoft.Web.WebPages.OAuth.dll. <br /><br />
Comments: I used this workaround: http://stackoverflow.com/a/13342216/1867657

Viewing all articles
Browse latest Browse all 7215

Trending Articles