Reputation: 714
Does a vc++ exe require the .Net framework to run, or will it run without the framework?
Upvotes: 2
Views: 502
Reputation: 3041
Certainly you will need the .Net Framework installed for running the application,
(If you want to see the target Framework version then go to Project tab and select name of project Properties in Visual Studio).
Upvotes: 3
Reputation: 15579
Unless it is compiled with the /clr
flag you do not need the .NET framework. Of course if your c++ exe uses any .net components via COM interop you're back to needing the framework installed.
Upvotes: 6
Reputation: 23629
Pure C++: no. Check your compile and link options to see if it includes .Net options (/clr) or libraries.
If not sure, use DependencyWalker to see which DLL's are actually required by your application.
Upvotes: 2
Reputation: 14330
If you're using Managed C++, then yes, you will. However, if you're making a pure C++ application, you should just need the Visual C++ 2008 Runtime, which is a whole lot smaller.
Upvotes: 4