问题
Are there any design considerations that need to be made when targeting the .NET Framework 3.5 SP1 Client Profile? I know it's a subset of the full framework, but what is missing and how will I know if my application will require the Client Profile or the full framework? Has anyone successfully developed an application using the Client Profile that can share their thoughts about it?
回答1:
The Client Profile is mainly missing server-side things, i.e. ASP.NET and the like. You can just develop for client profile and let the compiler handle the rest (you'll get warnings if you use something that is not available on client profile). And if you can't do anything about it, switching to the full framework is just a click on a check box.
回答2:
You only need .NET Framwork 3.5 features if you consider using LINQ and ADO.NET Entity Framework or the new System.Addin namespace.
When creating a new project in Visual Studio 2008 you can select the target framework. This will automatically show or hide the namespaces which are not available to the selected version.
来源:https://stackoverflow.com/questions/615354/supporting-net-framework-3-5-sp1-client-profile