المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Static Compilation in .net project/ Dependancy of EXE file over Visual Studio Installation



C++ Programming
08-12-2009, 09:04 AM
I developed an application by using Visual Studio 2005 (Visual C++/MFC based project). The developed exe works fine over the machine that already have installation of Visual Studio 2005. But it does not run over other machine. I even installed the .net2 frameowrk and service pack of .net2 framework as well but did not succdeed in running the application.


I remember that in old days, there was an option of static compilation in Visual C++ (6 version) without .net framework. So how we can do the same in Visual Studio 2005 that is dependant over .net framework. In static compilation, the compiler/linker put all the dependant stuff in exe file.

Please guide me how I can run the application over machines that does not have installation of Visual Studio 2005.

THANKS.