Is there a simple way to target native Win32 when compiling C++ code in VS2005 Beta 2
Basically the situation is that I have my own C++ code, which uses functions from the Irrlicht graphics library and the RakNet networking library. Irrlicht uses a DLL and a static lib, RakNet just a static lib, all of which were provided with the downloads: I haven't recompiled anything. There is absolutely no code in there that SHOULD require the .NET Framework, but no matter what options I choose in the project properties, when I come to deploy my application, if the .NET Framework is not already installed, it asks for it. My app is very simple, less than 1MB in size, so I'd really like to be able to avoid my users having to download an extra 30MB for the Framework before they can run it.
Would compiling using VS2003 make a difference I'd prefer not to have to switch back to the older environment, but if I have to, I will. I was trying to compile using the VC++ Toolkit but I got lost in command-line switches :(

Is there a simple way....
scottmclean
Theonlyparts
http://msdn.microsoft.com/library/default.asp url=/library/en-us/vclang/html/vcerrManagedUnmanaged.asp
Ron Prowse
Why would this be the case
Markusx1a
There are two options in the VS 2005 menu. One is to include CLR support (/CLR) and the other is to require the .NET Runtime Libraries. Make sure both of these are turned off and you will be good to go.
alihijazi
Mike Attili
I thought I had it fixed there, when I rebuilt using the /CLR switch and #pragma unmanaged, my deployment project told me it wasn't dependent on .NET - but the installer still asked me to install it (I'm using VMWare to give myself a basic platform on which to test).
So, any more suggestions