You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 27, 2021. It is now read-only.
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 />.
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
IsCleanMSDeployPackageNeededtask is attempting to loadMicrosoft.Web.Deployment.dllfrom the installed location by looking up paths in the registry.I think this can be fixed by including
Microsoft.Web.Deployment.dllnext to the task DLL. Alternatively, we might need to include MSDeploy in the package and set the MSBuild property<MSBuildDeployPath />.