S
StuartJSmith
Hi,
I'm trying to deploy an application written in C++, C++/CLI and C# on
pc's that do not have VC2005 installed. I am having issues with
assemblies loading, in particular the C++/CLI one and am getting
FileLoadException when it tries to load the dll. I know I can get
round this problem by running Vcredist_x86.exe - this sorts it out and
sets the pc up so that it can run VS2005 apps.
My problem however is that not everybody is able to run this exe as
you need admin rights as it's an installer, so I just want to be able
to ship the appropriate dlls with the application. These can be found
in the folders in \Program Files\Microsoft Visual Studio 8\VC\Redist
\x86\ in my installation. However, even with these dlls present in the
application directory (both within their directory structures and just
all copied straight into the root directory), I'm still getting the
FileLoadException when trying to load the C++/CLI dll. Does anyone
know what else Vcredist_x86.exe does, i.e. what other dlls it puts on
the users pc. I feel like I've tried all avenues but am not getting
anywhere...
There's a lot of detail about this at http://www.codeproject.com/cpp/vcredists_x86.asp
but I've tried it all and the only way I can get it to work is by
running the VcRedist_x86.exe which unfortunately isn't an option.
Thanks, Stuart
I'm trying to deploy an application written in C++, C++/CLI and C# on
pc's that do not have VC2005 installed. I am having issues with
assemblies loading, in particular the C++/CLI one and am getting
FileLoadException when it tries to load the dll. I know I can get
round this problem by running Vcredist_x86.exe - this sorts it out and
sets the pc up so that it can run VS2005 apps.
My problem however is that not everybody is able to run this exe as
you need admin rights as it's an installer, so I just want to be able
to ship the appropriate dlls with the application. These can be found
in the folders in \Program Files\Microsoft Visual Studio 8\VC\Redist
\x86\ in my installation. However, even with these dlls present in the
application directory (both within their directory structures and just
all copied straight into the root directory), I'm still getting the
FileLoadException when trying to load the C++/CLI dll. Does anyone
know what else Vcredist_x86.exe does, i.e. what other dlls it puts on
the users pc. I feel like I've tried all avenues but am not getting
anywhere...
There's a lot of detail about this at http://www.codeproject.com/cpp/vcredists_x86.asp
but I've tried it all and the only way I can get it to work is by
running the VcRedist_x86.exe which unfortunately isn't an option.
Thanks, Stuart