Target .NET Framework 4 Client Profile and .NET Framework 4 (full) in the same solution

Someone asked on Stack Overflow:

I have a Solution which contains an ASP.NET Web Application project. Web Application project types can only target the full .NET Framework 4, and Visual Studio won’t let you select the Client Profile.

However, my Class Library projects in that same solution allow me to target the .NET Framework 4 Client Profile.

So, should I mix targeting the Client Profile and the full framework in the same solution? Or just target the full framework for every project type in a Solution containing a Web Application project? Or does it not matter either way?

I posted the following answer, which was chosen as the accepted answer and received 2 upvotes:

If you plan to reuse the Class Library in a WPF or WinForms app, then Client Profile is a good choice, since you are likely going to be able to set your WPF or WinForms app to use Client Profile as well. Even if your WPF or WinForms app ends up requiring the full framework, Client Profile is a subset of the full framework so it will still work just fine.

If your reuse plans on the Class Library are WebApp only or your only using a Class Library to help segment code, then the target framework is really not important.


Originally posted on Stack Overflow — 2 upvotes (accepted answer). Licensed under CC BY-SA.

signed letter b

Dad. Geek. Gamer. Software developer. Cloud user. Old Car enthusiast.  Blogger.


Top Posts


profile for Nate on Stack Exchange, a network of free, community-driven Q&A sites
a proud member of the blue team of 512KB club
Thoughts, opinions, and ideas shared here are my own. © 2026 Nate Bross.