When you create a new Silverlight project, VStudio asks you to add web site project to host that Silverlight application, that’s great and a time saver: Visual Studio creates for you a new web project that contains the SL XAP application inside a folder called ClientBin, each time you make changes in your SL project and compile that XAP on the web project will get updated.

So far so good… but what happens when you want to add more Silverlight projects and linked them to the current existing web project? (e.g. you have several widget projects, or you want to chop the app in several XAP’s and use asynchronous XAP load), one option is to do that on the wizard dialog that appears when creating the XAP… but if you are in the case of integrating an existing project or you have just skipped that dialog…
If you google a bit you will find a bit confusing approach: a context menu option called “add linked server”, that doesn’t appear in your visual studio menu’s, What’s that? Well it’s an old CTP or Alpha approach to link a SL project to an existing web project, this options has been removed in the further releases of SL. What’s the right approach then? … Quite easy, just only need to know where’s now the option :):
- Just click to show the properties of your web project.
- Choose the Silverlight Applications Tab.
- And click on Add to add the new Silverlight project.
