Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

How to disable the CodeAnalysis error CA0060 ?

Posted on 2010-01-05
5
Medium Priority
?
4,484 Views
Last Modified: 2013-12-17
Hi All,

I  need to disable the CodeAnalysis error CA0060 

Is there is any settings which will Turn this error Off.

Note : - I dont want to add these dependent dlls in my project reference.

 

 (RunCodeAnalysis target) ->

  MSBUILD : error : CA0060 : The indirectly-referenced assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: 'Microsoft.Office.Interop.Excel.dll'.

  MSBUILD : error : CA0060 : The indirectly-referenced assembly 'Microsoft.Vbe.Interop, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: 'Microsoft.Office.Interop.Excel.dll'

MSBUILD : error : CA0060 : The indirectly-referenced assembly 'office, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: 'Microsoft.Office.Interop.Excel.dll'.

  MSBUILD : error : CA0060 : The indirectly-referenced assembly 'Microsoft.Vbe.Interop, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' could not be found. This assembly is not required for analysis, however, analysis results could be incomplete. This assembly was referenced by: 'Microsoft.Office.Interop.Excel.dll'

Open in new window

0
Comment
Question by:PoorDude
  • 2
3 Comments
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 1000 total points
ID: 26187344
0
 
LVL 30

Assisted Solution

by:Brad Howe
Brad Howe earned 1000 total points
ID: 26491431
Hi there,

Same question was asked on MS Forums and i was looking for it too.
"As far as I know there isn't such settings but to add the missing references to our project to fix the Build error. "
http://social.msdn.microsoft.com/Forums/en/vstscode/thread/b2c881ee-5809-4840-83e0-122d4c330fd4 

Here is the acutal microsoft link explaining the issue and how to add the missing reference.
http://msdn.microsoft.com/en-us/library/bb763128.aspx

Wish I could fix it :/
0
 
LVL 13

Expert Comment

by:SameerJagdale
ID: 27299834
TheLearnedOne:
hades666: and me posted links that says - there is no way to disable this, you either need to add the reference or live the way it is unless you disable the code analysis :-)
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
No other job is as rewarding and demanding as building an iPhone app is. It is not really in the hands of the developer for the success of an iPhone app. Many factors operate jointly for every iOS application's success in the market.
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question