Select the search type
 
  • Site
  • Web
Search Search

FAQ

Get the answers to your questions.

Functionality and Features

Building my Silverlight app says 'no webpages found'. What to do? »

Answers

Building my Silverlight app says 'no webpages found'. What to do?
A silverlight-app (xap-file) always needs to be hosted in a webpage. The profiler's strategy for locating webpages is constantly being improved. Here is how the current version locates webpage candidates for a Silverlight-application in directory "dir":

  1. include files in dir that match *testpage.htm[l], case-insensitive
  2. scan dir and 3 levels up for project-files *.*proj. For each project do
    1. if project (or user-settings) specifies a StartPageUrl then use that
    2. else, include any htm,html,aspx files in project-folder that embeds the silverlight-xap (by scanning files for tags application/x-silverlight- and asp:silverlight)
    3. if none are found then just include any htm,html,aspx files that embeds any silverlight-xap at all (using same scanning method)
  3. repeat step 2 for all projects found in your ...\Microsoft\WebsiteCache\Websites.xml, too
  4. if above project-scanning-steps finds no files then look for standalone hosting-pages:
    1. search upwards for the topmost web.config-file; if found then repeat file-scanning-steps 2.2 and 2.3 in its directory

You can enable detailed logging of this scanning-step in Tools > Profiler troubleshooting ... > "Show details of Silverlight webpage scanning step". It may help you figure out why the desired webpage is not found. If you believe everything is allright, and your webpage should have been found, you're more than welcome to send the build-log and other relevant info (project-file, directory-structure, etc) to us so we can examine it and use it to improve the scanning algorithm. Just mail it to support@eqatec.com.