-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Bring back pwsh.exe for framework dependent packages to support Start-Job
#16535
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
Conversation
|
Will fix #16532? |
pwsh.exe for framework dependent packages to support Start-Jobpwsh.exe for framework dependent packages to support Start-Job
|
Marking it as WIP as I am adding some tests. |
pwsh.exe for framework dependent packages to support Start-Jobpwsh.exe for framework dependent packages to support Start-Job
TravisEz13
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the signing issue is the main thing that needs to be addressed
| $Arguments += "/property:UseAppHost=false" | ||
| # The UseAppHost = true property creates ".exe" for the fxdependent packages. | ||
| # We need this in the package as Start-Job needs it. | ||
| $Arguments += "/property:UseAppHost=true" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we removed this because it was not signed.. we should sign it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point.. let me check the test build.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated the packaging code.
|
@TravisEz13 I have kicked off a test build with signing to validate the change. I will remove WIP when I have validated it. |
pwsh.exe for framework dependent packages to support Start-Jobpwsh.exe for framework dependent packages to support Start-Job
|
This PR has Quantification details
Why proper sizing of changes matters
Optimal pull request sizes drive a better predictable PR flow as they strike a
What can I do to optimize my changes
How to interpret the change counts in git diff output
Was this comment helpful? 👍 :ok_hand: :thumbsdown: (Email) |
|
@TravisEz13 validated that the fxdependent package has pwsh.exe which is signed. |
pwsh.exe for framework dependent packages to support Start-Jobpwsh.exe for framework dependent packages to support Start-Job
|
Hello, Thank you for the fix @adityapatwardhan , So, any idea when will this fix make it in the official dotnet6 sdk docker images? Thank you in advance, BR |
|
We are trying to get a fix in for the next release of the images. |
|
🎉 Handy links: |
|
🎉 Handy links: |
…rt-Job (PowerShell#16535) * Bring back pwsh.exe for framework dependent packages to support Start-Job * Update wix file * Add release tests for fxd packages * Fix tests * Fix stage dependencies * Address CR comments * Fix typo * Add value for the hashtable item
…rt-Job (PowerShell#16535) * Bring back pwsh.exe for framework dependent packages to support Start-Job * Update wix file * Add release tests for fxd packages * Fix tests * Fix stage dependencies * Address CR comments * Fix typo * Add value for the hashtable item
PR Summary
Fix #16537
For a framework dependent package we removed pwsh.exe recently, but we need it for supporting
Start-Job. So bring it back.PR Context
Customers of .NET 6 SDK docker images reported the issue here: dotnet/dotnet-docker#3302
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.(which runs in a different PS Host).