I’ve been writing a lot of code recently in Beta 2 of Visual Studio 2008. Today was my first attempt to create a setup project to manage deployment of the application we’re writing. We’ve been pretty diligent in abstaining from targeting version 3.5 of the .NET Framework, since it’s not yet an officially released product. Imagine my surprise then, when I try to create a setup project that bootstraps the 3.0 version of the Framework, that I find it missing. I can target .NET 2.0 and .NET 3.5, but strangely, not .NET 3.0.

Fret not, however, for I have found the answer! If you’ve got Visual Studio 2005 installed, this should be easy. Just follow the steps listed here to make sure you have the redistributable packages setup there. After doing that, you’ll want to grab the entire NETFX30 folder from C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ and dump it into the folder at C:\Program Files\Microsoft SDKs\Windows\V6.0A\Bootstrapper\Packages\. Now, when you visit the prerequisites section in your setup project’s properties, you should now be able to include the bootstrapper for .NET 3.0. Enjoy!

Advertisement