I\'m trying to call \"dotnet publish\" with a specific publish profile pubxml file as documented here :
https://docs.microsoft.com/en-us/aspnet/core/host-and-deploy/
See https://github.com/dotnet/docs/issues/19677. The PublishProfile is only the name, any directory before it is disregarded.
PublishProfile property is treated as a file name and the directory is constructed separately.
The PublishProfileFullPath
property should be used if specifying a custom path.