I'm trying to deploy the local site views files to the remote server files

So I installed Microsoft web deploy in my local system

Removed .example extension of WebDeploy.config file

and Configured the required parameters

          <event name="publish:begin">
            <handler type="Sitecore.Publishing.WebDeploy.PublishHandler, Sitecore.Publishing.WebDeploy" method="OnPublish">
              <tasks hint="list:AddTask">
                <default type="Sitecore.Publishing.WebDeploy.Task">
                  <!-- Publish operation int othe target database will trigger this deployment task. -->

                  <!-- Target server is optional. If omitted, operation is performed on the local server. -->

                    userName and password are optional. If omitted, local user identity or
                    credentials saved in Windows Vault will be used to connect to the server.

                  <!-- localRoot is optional. If omitted, the website root is used. -->


                  <!-- Paths, relative to the localRoot, which will be deployed to the remote location. -->
                  <items hint="list:AddPath">


but I'm facing the below error when I choose to publish the site from my Sitecore instance.

enter image description here

Is there any step I missed?

1 Answer 1


You may be missing the file Sitecore.Publishing.WebDeploy.dll in your bin\ folder. You will have to find out where you can get that file (or NuGet package), and copy it into your bin\ folder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.