PoorDude
asked on
How to disable the CodeAnalysis error CA0060 ?
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=71e9bce111e 9429c' 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=71e9bce111e 9429c' 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'
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=71e9bce111e
MSBUILD : error : CA0060 : The indirectly-referenced assembly 'Microsoft.Vbe.Interop, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e
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'
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
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 :-)