using Silverlight library in regular .NET library/app


hi,

i've developed silverlight dll i'm using in silverlight application. i've developed console application , i'd wanted use silverlight library in console application. added reference silverlight dll without problem, when try use simple method (ex. int getsomething(int i)) receive error different version of mscorlib.dll.

is there way go around problem can use silverlight class library in other type of projects without limitations?

thanks in advance

you have link source code true .net assembly , rebuild it.

silverlight has it's own subset of .net framework can't share assemblies between sl & standard .net.

you can use compiler directives #silverlight if have incompatible code.



Silverlight  >  Programming Silverlight with .NET – General



Comments

Popular posts from this blog

Conditional formatting a graph vertical axis in SSRS 2012 charts

Register with Power BI failed

SQL server replication error Cannot find the dbo or user defined function........