Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Fix x86 build by setting ExecutionPolicy for packaging scripts. - #91

Closed
AustinWise wants to merge 1 commit into
dotnet:release/1.0.0from
AustinWise:fixX86Build
Closed

AustinWise wants to merge 1 commit into
dotnet:release/1.0.0from
AustinWise:fixX86Build

Conversation

@AustinWise

Copy link
Copy Markdown

Error message was: "File packaging\windows\host\generatemsi.ps1 cannot be loaded because running scripts is disabled on this system."
This error only happened when I did the x86 build.

Error message is: "File packaging\windows\host\generatemsi.ps1 cannot be loaded
because running scripts is disabled on this system."
This error only happened when I did the x86 build.
@dnfclas

dnfclas commented Jun 6, 2016

Copy link
Copy Markdown

Hi @AustinWise, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!

The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.

TTYL, DNFBOT;

@brthor

brthor commented Jun 9, 2016

Copy link
Copy Markdown

@AustinWise Why not just set this on your machine? this is generally what we do on our dev machines.

@eerhardt

eerhardt commented Jun 9, 2016

Copy link
Copy Markdown
Member

@weshaggard - can you weigh in here if this change is OK? I'm no powershell expert in any way and I am concerned about having this kind of setting in our scripts.

@AustinWise

Copy link
Copy Markdown
Author

I figured out why I was running into this problem. I had set the execution policy for 64-bit Powershell, but not 32-bit Powershell.

@eerhardt

eerhardt commented Jun 9, 2016

Copy link
Copy Markdown
Member

Ok good. Is it safe to close this PR then?

@AustinWise

Copy link
Copy Markdown
Author

Sure.

@AustinWise AustinWise closed this Jun 9, 2016
@AustinWise
AustinWise deleted the fixX86Build branch June 9, 2016 19:03
eerhardt pushed a commit that referenced this pull request Sep 27, 2017
Add cli-deps-satellites to repo
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants