How to add a Silverlight project to an ASP.NET project?

I have a silverlight application project that I need to add to an ASP.NET project. I know that this can be done, because you can choose when you first create a silverlight project, I'm just not sure how you will do it after the fact. Any ideas?

+4
source share
2 answers

First of all, add the new website to the Silverlight application (if your solution has an ASP.NET website) by right-clicking ProjectSolution> Add> New Website .

Now Rightclick on the ASP.NET website and click "Proportions." Now click the Silverlight Applications tab. Now click Add and select Use an existing project in the solution. You can now see the name of the Silverlight application. Now click Add again to add the Silverlight application to the ASP.NET website.

After that, set the ASP.NET website as the Startup Project and..TestPage.aspx as the start page.

+10
source

Just add the web application to your solution and go to the properties of the web project, and on the silverlight tab add your sl application

0
source

Source: https://habr.com/ru/post/1310304/


All Articles