iis-builder
iis-builder copied to clipboard
post build event not working when spaces used in path
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.
Thanks for this, I will give it a test and update the README when I have a mo!