Project references
Silverlight Projects can refer to other projects in the workspace. This is called a project reference. When one project references another, the assemblies in the referenced projects are available for use by the referring project.
In other words, the controls inside the referenced silverlight project can be used.
This topic will show you how to use them.
In esl, There are two ways to add project reference
- Create a silverlight project, fill in the project name and click the Next Button, a list of the silverlight projects will be displayed. You can select or unselect any project in the list and click Finish button.
- After a silverlight project is created, right-click on the project icon in the explorer and select Properties in popup menu. Click on Project References tab in the Properties dialog,
a list of all silverlight projects will be displayed from which you can add or remove project references, click OK to confirm change.
After adding project reference, you can use custom silverlight controls from the referenced projects in xaml editor
- Open file page.xaml, a number of controls from the referenced projects will be available under assembly drawer in palette view, you can drag them to xaml editor as standard controls in palette