locked
Works only with Blend RRS feed

  • Question

  • Hello!

    I have a problem I don't have any idea how to resolve.

     When I execute from Blend, it works perfectly

    When I execute from Visual Studio, it opens a page in the browser.. and nothing else. It's not that it's not compiling, by debug it seems that it's not reaching any code...

     

    any ideas??

    Sunday, October 5, 2008 9:23 PM

Answers

  • you should habe 2 projects- the silvelight one and a web project, where 2 pages are. One aspx and one html. Both are the hosts of the xap file (= silverligth app). If you dont have this second web project you cannot run silverlight by F5.

     

    Monday, October 6, 2008 2:43 AM
  • Try it by setting your ProjectName.aspx or ProjectName.html as starting page, in VS.

    Monday, October 6, 2008 5:28 AM

All replies

  • you type F5 and which page (url) is shown in browser?

    Monday, October 6, 2008 2:05 AM
  •  http://localhost:51762/Default.html when I open with Blend

    file:///C:/U/8vo%20semestre/Ing%20Software/Proyecto/Entrega%204/Aplicaci%C3%B3n/Prototipo%202.0/bin/Debug/Default.html when I open with VS2008

    Monday, October 6, 2008 2:12 AM
  • you should habe 2 projects- the silvelight one and a web project, where 2 pages are. One aspx and one html. Both are the hosts of the xap file (= silverligth app). If you dont have this second web project you cannot run silverlight by F5.

     

    Monday, October 6, 2008 2:43 AM
  • Try it by setting your ProjectName.aspx or ProjectName.html as starting page, in VS.

    Monday, October 6, 2008 5:28 AM