kirtee2209 9 Light Poster


I have a c# project created in Visual Studio 2010.
The project runs successfully on Windows XP 32bit but I get an error when building on Windows 7 64bit.
The error is as follows:

Could not load referenced assembly "C:\WINDOWS\system32\stdole.dll". Caught a FileNotFoundException saying "Could not load file or assembly 'C:\WINDOWS\system32\stdole.dll' or one of its dependencies. The system cannot find the file specified.".

When I change the path of the assembly from C:\WINDOWS\system32\stdole.dll to C:\Program Files (x86)\Microsoft Visual Studio 10.0\Visual Studio Tools for Office\PIA\Common\stdole.dll, the project builds successfully.

Can someone please shed some light on this?


Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.