0
kicks
Sharing Code Between .NET and Silverlight Platforms
Quite often, I hear people asking if they can use .NET assemblies compiled for the full .NET runtime in Silverlight. Unfortunately, this just isn’t possible, the Silverlight runtime is a subset of the full .NET runtime and for code to run correctly under the Silverlight runtime, there are various dependencies that must be linked and verified at compile time. But (there is always a but), there is one technique that you can use that effectively allows you to write your code once and have it work in both Silverlight and regular .NET applications.