Microsoft.VC90.MFC not found even though installed...

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
I am developing on Win7 x64 and VS 2008 sp1. I have a Windows Forms Application compiled for x86. This application uses a C++ dll with MFC and Common Language Runtime Support (/clr option). On the target machine (Win7, x86, without VS) the app gets installed fine. I also install the vcredist_x86 package (VS 2008 sp1) on the target machine. When I try to run the application I get the following error on sxstrace:<br/><br/>Error: Cannot resolve reference "Microsoft.VC90.MFC,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.30729.4148"...<br/><br/>Its strange because when I go to C:Windowswinsxs I cleary find the folder "x86_microsoft.vc90.mfc_1fc8b3b9a1e18e3b_9.0.30729.1_none_dcc7eae99ad0d9cf" with 4 dlls in it. So somehow I think the reference should be found, but it isnt...<br/><br/>Does anyone have an idea? Thanks!<br/>

View the full article
 
Back
Top