How do I create a compiled, redistributable class library in Silverlight?

Is it possible to create a small library (similar to a Flash component or Flex SWC) that can be used in Silverlight applications?

Since I am a Flash and Flex developer, I will cover this. In Flex, if I have a SWC, I can add it to my build path and then immediately use its included classes and functions in my project. Likewise, in Flash, if I add a SWC to the Components folder, drag this SWC into my library, I can use the classes in my Flash project.

Does Silverlight have a similar concept? I just need a small library of code that I can send to other developers, but it needs to be precompiled so that the source is not available.

Thank!

0


source to share


1 answer


You shouldn't have to pre-compile the "Silverlight Library Class" project type in Visual Studio, as you would traditional C # libraries, and free them up for developers to reference them in Silverlight applications.



+4


source







All Articles