0

我正在为 MSDeploy 构建一个自定义提供程序并遵循一些示例:

http://sedodream.com/2012/06/07/ASPNETProvidersAndSQLAzure.aspx

http://blogs.iis.net/kateroh/archive/2009/06/19/msdeploy-custom-provider-to-execute-batch-files.aspx

但我无法让它以某种方式工作。我不断收到以下异常:

C:\Program Files\IIS\Microsoft Web Deploy V3>msdeploy -source:customFile=c:\test
\test.bat -verb=sync -dest:customFile=c:\test\test2.bat
Error Code: ERROR_PROVIDER_NOT_FOUND
More Information: The provider 'customFile' could not be found.  Learn more at:
http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_PROVIDER_NOT_FOUND.
Error count: 1.

有人有这个工作的例子吗?

4

1 回答 1

0

好的,这是答案:http: //blogs.iis.net/kateroh/archive/2009/06/19/msdeploy-custom-provider-to-execute-batch-files.aspx

我是我的情况,我必须将文件添加到:C:\Program Files\IIS\Microsoft Web Deploy V3\Extensibility

于 2013-05-21T14:12:28.710 回答