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

Unable to run complete setup and received error from while executing build.ps1 #107

Closed
vyan024 opened this issue Aug 10, 2021 · 2 comments
Closed

Comments

@vyan024
Copy link

vyan024 commented Aug 10, 2021

Step to reproduce

  1. Checkout entire solution
  2. Switch NET5 branch
  3. Run Setup.cmd with administrative privilege encountered error while executing build.ps1
    image

My environment execution policy configuration

image

@ngocnguyen-epi
Copy link
Contributor

Supported

@vyan024
Copy link
Author

vyan024 commented Aug 11, 2021

Thanks @ngocnguyen-epi , the problem has been resolved. The root cause is I'm using Windows Terminal to launch the powershell. If you're doing the same, you'll need to bypass the execution policy for process as well

Set-ExecutionPolicy -Scope Process -ExecutionPolicy Bypass

I hope it helps for whoever encounters the same issue in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants