In my case, I replace .. in my path with the usual folder path.
TL DR
I did a smart trick using the relative path to my script file, since I did not want to hardcode the address of my folder.
"C:\Program Files\IIS Express\iisexpress.exe" /path:"%~dp0..\Lagardsdorren\bin\Debug\netcoreapp2.2\publish" /port:44342
I knew, but it took me a while to realize that .. in IIS (express) non grata, because it allows you to find the path from the home directory of your site. In my case, this is not the case, but I think IIS (express) just stops anything with .. in it.
I do not know how to return to my smart relative path, but this is another question.
LosManos Dec 22 '18 at 21:48 2018-12-22 21:48
source share