When you want to use existing Silverlight projects (like demos from Devexpress Silverlight AgGrid) in Visual Studio do the following:
- Start a Silverlight Application
- Host it in a new web site.
- Add the Silverlight Project.
- Right click on Web application
- Select Properties.
- Select Silverlight Applications tab
- Press the Add button
- Use existing project radio button will be normally selected.
- The drop down menu will show you the Silverlight projects available in the solution.
- Select add a test page.
- Leave the destination folder as ClientBin
- Press the Add button.
- A test page is added
- The XAP file from the silver light project is added to the ClientBin.
- Every time you make changes in the silver light project and compile the solution is updated.
- Sometime the F5 (Compile and Run) button in Visual Studio does not use the updated file.
- You may have to do a compile first and then run it.
No comments:
Post a Comment