我正在为 msdeploy(又名 Web 部署)而苦苦挣扎。我试图创建一个简单的清单(来自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.
任何想法 ?