加載動態生成的測試頁我正在使用Microsoft Silverlight 3開發小型Web應用程序。我將Microsoft Expressin Blend 3用於UI開發和Visual Studio 2008 for 「代碼隱藏」。從Blen 3調試項目時,一切正常。 Silverlight的自動嵌入到TestPage和如何使Visual Studio 2008從http:// localhost/
但是裝,開始從Visual Studio 2008中的調試器時,Silverlight應用程序會自動嵌入在一個TestPage.html,但知道裝從文件://,如:
文件:/// C:/文件%20於是%20Settings/JadaJada /我的%20Documents /表達式/混合%203 /項目/ JadaJada/JadaJada /斌/調試/TestPage.html
因此,應用程序不起作用(這可能是因爲應用程序使用WebClient向http://localhost/發送了幾個HTTP請求)。
有誰知道如何讓Visual Studio從http://localhost/加載TestPage.html而不是file:/// C:/ JadaJada /?
感謝您的幫助!