I开发者_如何转开发'm creating some simple apps with Visual Studio 2010 (C#), and I noticed that they require .net framework 4 on the client computers for working...
Is there a way in Visual Studio 2010 to create apps that don't need .net framework 4? I want them to run on normal PCs without the users to need to install anything.
Cheers all,
Right-click project in Solution Explorer and select Properites and change Target framework. What version you should choose depends of what you are using from Framewok, but 2.0 should be okay for most XP machines and is pretty powerful. Just test if your app works with 2.0.
If you want your apps work even in Windows 95 and without extra downloads, consider Delphi.
You can select other versions of the .NET Framework when creating a new Project. You can choose from version 4.0, 3.5, 3.0 and 2.0. You can get 1.1 from here
Available from statowl, current for March 2011. Kinda crappy that they don't break down between 3.0 and 3.5 SP1:
精彩评论