Yes but there ia a way to detect if the .NET framework is installed. Im not sure how to do it. Setup projects created in Visual Studio 2005 automatically take care of dependencies.
That's good to know, I was actually wondering about how to go about doing that myself for when I create the distribution for the project I'm currently working on. Do you know if it includes the .NET redistributable package in the installer? Or does it just tell them to download it from the Microsoft site?
In the properties section of the setup and deployment project there is a few options for how and where the framework is installed from. You can select to download it from Microsoft or you can ship the framework install with your product. Selecting the relevant option will take care of the rest for you.