iis-builder icon indicating copy to clipboard operation
iis-builder copied to clipboard

post build event not working when spaces used in path

Open deMD opened this issue 5 years ago • 1 comments

I noticed I get an error when running the post build event when I have spaces in the path of the iisbuilder. This is mostly just the documentation which might be updated by changing %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -file $(ProjectDir)\IIS-Builder.ps1 in %SystemRoot%\sysnative\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Unrestricted -file "$(ProjectDir)\IIS-Builder.ps1" (note the added " around the -file path)

This will make sure the event works even in cases where spaces are used in the file path.

deMD avatar Jan 16 '20 08:01 deMD

Thanks for this, I will give it a test and update the README when I have a mo!

mattou07 avatar Jan 22 '20 12:01 mattou07