Can we add the reference of a Class library project in Silverlight application project?

 Posted by Raja on 6/6/2009 | Category: Silverlight Interview questions | Views: 8267
Answer:

No, You can't add the reference of a Class library inside the Silverlight application project. You can only add the reference of another Silverlight application project inside a Silverlight application project.

However, you can add the reference of a Web Service or WCF services.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Posted by: Sshekhar on: 12/17/2010 | Points: 10
Yes, you can add reference of a Class Library inside the Silverlight application project.
Posted by: Ankurbhutani on: 3/19/2013 | Points: 10
I think answer given above is wrong we can add reference of a class library inside the silverlight application project.

One example for this is for example we are creating a custom control with a class library and we are intending to add this custom constrol in our silverlight based app. So we must have to add reference to sort out this issue.

Login to post response