简体   繁体   中英

Visual Studio 2010 and .NET 4.0 Client Profile

We are a .NET component vendor, our product needs to connect to the internet to be activated. In Visual Studio 2010, as soon as you create a new WinForms project the .NET Framework 4.0 Client Profile is selected not providing the necessary support for internet connections.

Despite this arguable Default chioce, is there something we can do to switch .NET Framework into Visual Studio automatically to .NET Framework 4.0 Full?

Thanks.

Someone has put together a hack to sort this out. You need to change the Visual Studio templates and rebuild the template cache. This is describe in detail here:

http://blog.rolpdog.com/2010/04/changing-default-framework-profile-in.html

I know I necro'd an old post but I ran into the same problem and it helps to have the proper solution.

Yes. JUST DO IT. Seriously.

Open project properties. Switch supported .NET framework to 4.0 full.

The choice is actually not arguable at all - most client applications greatly benefit from it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM