-
Notifications
You must be signed in to change notification settings - Fork 1
Build on Windows #11
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
Comments
You can also change the policy for the process without escalation:
I think this is what CI process does. That said, perhaps we should update the readme with this instruction? |
This also seems to work - PowerShell.exe -ExecutionPolicy Bypass -File .\build.ps1 |
I configured tasks.json as follows and that seems to work for windows. Not sure about other O/S {
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build",
"type": "shell",
"command": "Set-ExecutionPolicy Bypass -Scope Process; ./build.ps1"
}
]
} |
You want to raise a PR for the change to tasks.json? Also, Github tip, if you paste code or console content into here, putting three backticks above and below it makes the spacing make sense. Like so:
I've updated your comments to fix the formatting. |
Sure. Will do.
…On Fri, 24 Apr 2020, 18:04 Alistair Evans, ***@***.***> wrote:
You want to raise a PR for the change to tasks.json?
Also, Github tip, if you paste code or console content into here, putting
three backticks above and below it makes the spacing make sense.
Like so:
code
formatting
I've updated your comments to fix the formatting.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABBYGQS6JWJKNQBH5D2MXLLROHBA7ANCNFSM4MPKLMLQ>
.
|
Solution is to open an elevated privileges Powershell prompt and issue:
The text was updated successfully, but these errors were encountered: