This project has moved and is read-only. For the latest updates, please go here.

stdole.dll

Sep 19, 2011 at 12:55 PM
Edited Sep 19, 2011 at 12:58 PM

If I check my project by FXCop, I get the following error:

CA0060 : The indirectly-referenced assembly 'stdole, Version=7.0.3300.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' could not be found. 
This assembly is not required for analysis, however, analysis results could be incomplete.
This assembly was referenced by: [...bin-Path of my project ...]\OutlookApi.dll.

My project works anyway. But do you see a possibility to prevent this FXCop message?

Sep 19, 2011 at 1:06 PM

hmmm, the interop version of stdole is a GAC Assembly from .the NET Framework. the assembly includes the basic com types.
its alwas the same and thats the reason for NetOffice has no wrapper for this assembly.
maybe its helpfull to copy the .dll from Gac Folder to the local directory.
current NetOffice release is not FxCop approved but this is very good idea, the next release delivers the stdole interop dll too, i will see.
interesstent post: http://nandagopalan.blogspot.com/2007/03/could-not-load-file-or-assembly-stdole.html

*Sebastian

Sep 19, 2011 at 10:32 PM
SebastianDotNet wrote:

maybe its helpfull to copy the .dll from Gac Folder to the local directory.

I tried this way. Unfortunately it does'nt work.

But its no problem. It does not bother me.

Sep 19, 2011 at 11:42 PM

i do a test in the next days.
the next NetOffice release has FxCop approved source code and examples.
if i find the reason for this (not realy a) problem i tell you the matter.
*sebastian