Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

.NET Core publish error: "Unable to find msdeploy.exe, please install it and try again"

When I attempt to publish a .NET Core project to the file system in Visual Studio 2015, I get this error:

"Unable to find msdeploy.exe, please install it and try again"
like image 413
Contango Avatar asked Nov 05 '16 14:11

Contango


1 Answers

Download and install Web Deploy v3.6 (or higher) from Microsoft.

This command in the deployment script needs to be able to find msdeploy.exe:

Executing command ["C:\Program Files (x86)\IIS\Microsoft Web Deploy V3\msdeploy.exe" -source:manifest=...]

Ensure that the .exe is in your path (you may have to restart Visual Studio to get it to pick up the new path).

like image 150
Contango Avatar answered Oct 13 '22 12:10

Contango