我正在努力使用msdeploy(又名Web Deploy)。我试图创建一个简单的清单(来自MSDN的例子):
<sitemanifest>
<appHostConfig path="mySite" />
</sitemanifest>
不幸的是,任何以此清单作为源的命令都会消失,并显示以下消息:
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.
任何想法?
答案 0 :(得分:1)
好的,最后了解我的问题:清单仅用于导出您需要的内容。它不是从头开始生成的东西。要生成网站,必须使用包提供程序。