Solved 2008 Build Fail on XP

Posted on 2009-04-16
Last Modified: 2013-11-07
I am using 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 2008 implicitly add .net framework dependency in my Build.
Kindly check attached .jpg file.
How can I set 2008 compiler not to add any .net framework dependency in my build ?
So how I can fix this issue? Any help is appreciated.
Question by:sandip_ware
    LVL 8

    Expert Comment

    1: What is the compiler output when you try to compile?
    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)

    Author Comment

    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.

    LVL 8

    Expert Comment

    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

    Author Comment

    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).

    LVL 8

    Accepted Solution


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Update (December 2011): Since this article was published, the things have changed for good for Android native developers. The Sequoyah Project ( automates most of the tasks discussed in this article. You can even fin…
    Step by step guide to Clean and Sort your windows registry! Introduction: Always remember: A Clean registry = Better performance = Save your invaluable time In this article we're going to clear our registry manually! Yes, manually! The e…
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    The viewer will learn how to use and create keystrokes in Netbeans IDE 8.0 for Windows.

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    22 Experts available now in Live!

    Get 1:1 Help Now