سؤال

I don't know of any reason why this wouldn't be possible, but I'd like to make sure there aren't any potential pitfalls or gotchas here.

Can a .NET 4 application depend on a class library that's targeted at .NET 4 Client Profile? Are there any potential problems that could arise?

هل كانت مفيدة؟

المحلول

The client profile is a subset of the full .NET Framework. Thus everything in the client profile is included in the full framework, so whether it's a client or web application you're building, you shouldn't run into any problems.

نصائح أخرى

I've never had any issues targeting a .NET 4.0 Client Profile library from a .NET 4.0 web app.

the client profile doesn't include "server" type libraries. most notable is the asp.net framework. so a dll targeting the client profile can run on full .net 4.0 but a dll targeting .net 4.0 cannot run on a computer only containing the client profile.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top