Skip to main content

Microsoft Silverlight

Answered Question xerces.netRSS Feed

(0)

imiruseini
imiruseini

Member

Member

6 points

8 Posts

xerces.net

I have tried to reference xerces.net.dll to my VS 2008 reference library but get this error:

"You can`t add a reference to xerces.net.dll as it was not built against the Silverlight runtime. Silverlight projects will only work with Silverlight assemblies."

Is there somebody who have tried this before?

 

trentnix
trentnix

Member

Member

128 points

32 Posts

Answered Question

Re: xerces.net

If you have a Silverlight project, that project is going to run on the DLR.  In order to use that DLL in your project, it needs to be built against the Silverlight DLR.  If you had built xerces.net.dll against say, the .Net Framework 3.5, and a client machine only had the .Net Framework 2.0 installed, you wouldn't expect your DLL to run.  This is a similar situation.

 Any DLLs that you reference in your Silverlight project must be DLR-friendly (built against the Silverlight runtime).

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities