pradeep
pradeep

Reputation: 3095

Problem with newly built VC++ application?

My application which is built on VC++ 2008 , when run on a freshly installed XP shows an error that asks dotnet.fx to be installed. And also i faced similar problem when i tried to run it on another xp system after i installed that, it started to run.

Is there any way that i can make my application independent of all these additional installs ?

Upvotes: 0

Views: 69

Answers (1)

jdehaan
jdehaan

Reputation: 19928

Are you sure you didn't compile managed C++ (targetting CLR) instead of real C++. In the former case dotnetfx is the .NET runtime you absolutely need and not some optional addon. In the latter case you need only the VC_redist in either x86 or 64bit variant. That installs the C and C++ dlls only. These are side-by-side assemblies and must match the version you compiled for.

Upvotes: 1

Related Questions