2013-07-11 32 views
0

我正在爲msdeploy(又名Web Deploy)而苦苦掙扎。我試圖創建一個簡單的清單(從MSDN的示例):無法創建類型'manifest'和路徑'C: CustomManifest.xml'的對象

msdeploy -verb:dump -source:manifest=c:\CustomManifest.xml 
Error: Object of type 'manifest' and path 'C:\CustomManifest.xml' cannot be created. 
Error: One or more entries in the manifest 'sitemanifest' are not valid. 
Error Code: ERROR_SITE_DOES_NOT_EXIST 
More Information: Site 'mySite' does not exist. Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_SITE_DOES_NOT_EXIST. 
Error count: 1. 

任何想法:

<sitemanifest> 
    <appHostConfig path="mySite" /> 
</sitemanifest> 

不幸的是,任何命令與此表現爲一個源使用以下信息模具?

回答

1

好的,終於明白我的問題了:清單僅用於導出所需內容。它不是從頭開始生成一些東西。要生成一個網站,必須使用包供應商。

+1

我知道這是一個有點過時的問題,但你能指定你做了什麼來修復它嗎? –

+0

它轉儲清單實際上沒有意義。我建議你將使用Visual Studio發佈一個虛擬網站到一個web部署包並分析生成的清單的內容。 –

相關問題