Hello I've been facing compatibility issues quite a lot with my simplest applications. It turns out that VS2010 has .NET 4.0 in it so if I create a setup for my application and hand it over to a XP user, he has to download the big .NET 4.0 framework on it. So reading a few articles on framework, I came across this article: http://www.codeproject.com/KB/dotnet/targetnet2fromvs2008.aspx
It shows how to target frameworks other than the default frameworks in visual studio. So Im trying to build my setup using 2.0 framework. I'm not sure if its preinstalled on XP, but even if its not.. Im sure its not going to be a big download for the end user. So my issue is.. I've followed the above mentioned article well.. I've created new project based on 2.0 framework. I've set the Target Framework to 2.0 as well. All the references are ok as per 2.0. (btw im using VS 2010). Now when I try to set prerequisite for the setup project, it does not show me the ".NET 2.0 Framework (x86)" as shown in the article (http://www.codeproject.com/KB/dotnet/ targetnet2fromvs2008/image012.jpg). My setup project still requires 4.0 or 3.5SP1 so all in all it'll still need to download the big framework. My issue is, how do I get the 2.0 framework listed in the prerequisite window ??? So I can select that framework and hope that my setup project will not require anything else than 2.0 framework on the end- user's system. Regards Faraz Azhar
