Visual Studio 2005 - Setup Project
Posted on 2009-04-02
I've got a C# project in VS2005. Under that solution, I added a Setup Projecct. It detects dependencies and .NET is one of them. I actually de-check the option to make a setup for .NET.
To make a long story short and get to the question - my project is just using the regular default references. But to make those run, does my target machine also have to have .NET 2.0 installed? My setup from the Setup Project seems to hang on whether .NET is installed or not. That doesn't seem right to me. Shouldn't an exe be able to run without .NET? After all, it's just a compiled module without any special DLL references.
Is there a problem with the way I am setting up the Setup Project? Suspect that by including the Setup Project in the program's solution, it might be looking at the project dependencies and always give me that .NET prerequisite. Haven't tested it yet, but should I create a completely separate Setup Project and just include the bin output of the original project? Is there some kind of guide on how to do this nicely?