Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post build event not working when spaces used in path #7

Open
deMD opened this issue Jan 16, 2020 · 1 comment
Open

post build event not working when spaces used in path #7

deMD opened this issue Jan 16, 2020 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@deMD
Copy link

deMD commented Jan 16, 2020

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.

@mattou07
Copy link
Owner

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

@mattou07 mattou07 self-assigned this Jan 22, 2020
@mattou07 mattou07 added the enhancement New feature or request label Jan 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants