I want to deploy a console application from Azure Devops (cloud version) to a machine (VPN protected) where I installed a Microsoft-provided host agent.
It is working fine for web applications, where I used the release pipeline task 'IIS web app deploy'.
I could deploy my console application using the same task, which I tried with success, but it would look weird, because my IIS would recognize a console app as a web app:
Although this solution would work, as I could still 'explore the folder' and launch my console application executable, it is not a professional solution.
What I want is to copy the executable to my server's shared folder.
In order to do so I selected the release pipeline task 'Windows Machine File Copy' with the following options:
I must say that I shared the right folder which is accessible to all computers inside my VPN.
Everything looks good to me, but clearly there's a problem as I have the following error:
**> Failed to Create PSDrive with Destination:
'\srvdevrct01\GdmUtilitaires', ErrorMessage: 'The network path was not found'**
What am I missing?