Skip to content
This repository was archived by the owner on Feb 27, 2021. It is now read-only.
This repository was archived by the owner on Feb 27, 2021. It is now read-only.

Tasks fail if Microsoft Web Deploy is not installed #16

Description

@jeffkl

We have some build machines that don't have Visual Studio or MSDeploy installed. The tasks fail with an error:

Microsoft.Web.Publishing.targets(3742,5): error : Package/Publish task Microsoft.Web.Publishing.Tasks.IsCleanMSDeployPackageNeeded failed to load Web Deploy assemblies. Microsoft Web Deploy is not correctly installed on this machine. Microsoft Web Deploy v3 or higher is recommended.

The IsCleanMSDeployPackageNeeded task is attempting to load Microsoft.Web.Deployment.dll from the installed location by looking up paths in the registry.

I think this can be fixed by including Microsoft.Web.Deployment.dll next to the task DLL. Alternatively, we might need to include MSDeploy in the package and set the MSBuild property <MSBuildDeployPath />.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions