在安裝Windows Phone SDK 的系統環境要求中,只支持windows vista、windows 7,不支持winXP,暫時不想升級win7的用戶,想要在XP系統開發WP應用程序,就多了一種限制,多次在網上搜索,會發現在XP下也能安裝Microsoft Visual Stdio 2010 Express For Windows Phone,有網友指出可以用WindowsPhone7_SDK_Full.rar_for_xp,在XP下安裝Sdk,也可以利用“傳智播客的WP模擬器”在XP下開發Windows Phone應用程序。
現使用另一種修改配置文件數據的方法安裝:
下載在線安裝程序vm_setup.exe
- 解壓 vm_setup.exe。[採用命令行 vm_web.exe /x 解壓,選取存放路徑 ]
- 找到 baseline.dat文件,用記事本打開。
- 找到 [gencomp7788] 數據段。
- 修改 InstallOnLHS 值 1 爲 0
- 修改 InstallOnWinXP 值 1 爲 0
- 保存 baseline.dat 文件
- 運行 setup.exe 文件 [採用命令行執行 setup.exe /web ]
在此需要等候漫長的下載過程,如果閒麻煩的話,可以下載ISO文件,在本地安裝。
附一 下載地址 只需修改baseline.dat文件數據,保存即可。
在msdn也能找到的解答
Workaround for installing Windows Phone 7 CTP on Windows XP:
- Download the Windows Phone Developer Tools CTP Refresh
- Extract the contents of the setup package by running vm_web.exe /x and choosing a path to extract to
- Go to the folder you extracted to in step 2 and open the file baseline.dat in notepad
- Look for the section named [gencomp7788]
- Change the value InstallOnLHS from 1 to 0
- Change the value InstallOnWinXP from 1 to 0
- Save and close baseline.dat
- Run setup.exe /web from the folder you extracted to in step 2