sandy ware
asked on
VC++.net 2008 Build Fail on XP
I am using VC++.net 2008 compiler to Build my C++ & STL application.
I am not using any .net framework any API or my product not required any .net framework support.
When I release application it fails on Windows XP, because it don't found any .net framework.
As per my understanding VC++.net 2008 implicitly add .net framework dependency in my Build.
Kindly check attached .jpg file.
How can I set VC++.net 2008 compiler not to add any .net framework dependency in my build ?
So how I can fix this issue? Any help is appreciated.
DotNetFrameworkDependancy.JPG
generalProperties.JPG
I am not using any .net framework any API or my product not required any .net framework support.
When I release application it fails on Windows XP, because it don't found any .net framework.
As per my understanding VC++.net 2008 implicitly add .net framework dependency in my Build.
Kindly check attached .jpg file.
How can I set VC++.net 2008 compiler not to add any .net framework dependency in my build ?
So how I can fix this issue? Any help is appreciated.
DotNetFrameworkDependancy.JPG
generalProperties.JPG
ASKER
1) Compiler output is DLL & .exe
2) I checked all cpp setting, All .cpp files are compiled with no CLR support.
I am still getting same error.
Kindly find the attached jpg for more detail
But when I install the .net framework 3.5 it start working.
Issue-in-loading-exe.jpg
2) I checked all cpp setting, All .cpp files are compiled with no CLR support.
I am still getting same error.
Kindly find the attached jpg for more detail
But when I install the .net framework 3.5 it start working.
Issue-in-loading-exe.jpg
The error is not related to .NET but to Visual C Runtime VCCRT.
Most likely something is wrong with your manifest. Make sure that the manifest is included and linked into the application.
If the problem is not on your computer but some other computer maybe you need to install the latest VC redistributable on the client computer. Lookup vcredist.exe
Most likely something is wrong with your manifest. Make sure that the manifest is included and linked into the application.
If the problem is not on your computer but some other computer maybe you need to install the latest VC redistributable on the client computer. Lookup vcredist.exe
ASKER
Thanks for your all help.
But I am still getting same error. I totally clueless about this issue now.
Kindly find manifesto file & dependency walker detail about my application (dhserver).
embedded-manifesto-file.JPG
dependancy-dhserver.JPG
But I am still getting same error. I totally clueless about this issue now.
Kindly find manifesto file & dependency walker detail about my application (dhserver).
embedded-manifesto-file.JPG
dependancy-dhserver.JPG
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
2: Make sure that all your .cpp files are compiled with no CLR support (go file by file and check the c/c++=>General )
3: CLR support may also be specified somewhere else in the compiler options (check the actual command line options for absense of the clr switch)