Re: FileLoadException msvcm80.dll and msvcr80.dll are missing (by depends.exe)
- From: "Gaurav Khanna [MSFT]" <gkhanna@xxxxxxxxxxxxx>
- Date: Mon, 16 Apr 2007 00:03:16 -0700
Hi Loy,
Have you tried using fuslogvw.exe (http://msdn2.microsoft.com/en-us/library/e74a18c4(vs.71).aspx) to see why the load fails for your assembly? What does the log say about the exception?
--
Cheers!
Gaurav
--------------------------------------------------------------
WinToolZone - Spelunking Microsoft Technologies
http://www.wintoolzone.com/
Inside and Out
http://www.wintoolzone.com/blog/
----------------------------------------------------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
"Loy" <l.oyolox@xxxxxxxxx> wrote in message news:1175698374.777461.227110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Apr 4, 3:23 pm, "Willy Denoyette [MVP]".
<willy.denoye...@xxxxxxxxxx> wrote:
"Loy" <l.oyo...@xxxxxxxxx> wrote in message
news:1175673710.597423.10800@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Scenario:
> Code compiled on VS2005
> When running on a machine w/o VS2005 - The application fail to load
> (it does load correctly on the first machine - just a clarification)
> I get: System.IO.FileLoadException: Could not load file or assembly
> <my assembly>
> On machine w/ VS2005
> When I check depends on my assembly it shows that I miss "msvcm80.dll"
> I copied it from the build machine to the bin folder, and now I get
> the same exception, depends points now to "msvcr80.dll"
> After copying this one too - I still get
> "System.IO.FileLoadException" but now depends.exe does not show any
> other missing dll
> How should I solve it?
> Is it correct that my app linked to VS80 dlls?
> If so - how should they be deployed to the other machine?
> Thanks
> Loy
Your application depends on VC 8 runtime components, so you have to distribute the VC 8
runtime, they are included with VS2005 , search for C:\Program Files\Microsoft Visual Studio
8\SDK\v2.0\BootStrapper\Packages\vcredist_x86, or wherever you installed VS2005
Note that when you did apply the SP1 for VS2005 (you better do), you have to redistribute
vcredist_x86 that comes with it.
Willy.- Hide quoted text -
- Show quoted text -
Willy
I found the redist file and installed it on the second machine and
removed the copies of msvcm80 and msvcr80 from the application folder
I still see the same problem: FileLoadException and depends.exe claim
that msvcm80.dll is not found
The file is found under %windir%\winSxS\......
So it seems the redist file is installed correct.
Could it be that depends fail to find a file that the runtime will
find?
What else could I check?
- References:
- Prev by Date: Re: print the current time on the screen
- Next by Date: Parent child form
- Previous by thread: Re: FileLoadException msvcm80.dll and msvcr80.dll are missing (by depends.exe)
- Next by thread: Re: Documentation on Thread::StartupSetApartmentStateInternal
- Index(es):
Relevant Pages
|