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

Add windows runtime packs as a workload #68981

Merged
merged 7 commits into from
May 14, 2022

Conversation

steveisok
Copy link
Member

At certain points in time internally, the sdk will rev its version and insert into VS. It's at this point the sdk version will be ahead of the runtime version as we have not published anything into nuget. In MAUI and WinUI scenarios, this creates a bit of a pickle as the sdk will try to download a new version of the windows runtime pack, but it will not be available.

To get around this limitation, we are introducing a workload that will be inserted into VS where you can optionally install Windows runtime packs.

At certain points in time internally, the sdk will rev its version and insert into VS.  It's at this point the sdk version will be ahead of the runtime version as we have not published anything into nuget. In MAUI and WinUI scenarios, this creates a bit of a pickle as the sdk will try to download a new version of the windows runtime pack, but it will not be available.  To get around this limitation, we are introducing a workload that will be inserted into VS where you can optionally install Windows runtime packs.
@steveisok
Copy link
Member Author

Successful official build that contains the windows workload

https://dev.azure.com/dnceng/internal/_build/results?buildId=1767472&view=results

Copy link
Member

@lewing lewing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If testing shows this working you'll probably need to add descriptions etc but it shouldn't break things as is

@steveisok steveisok merged commit eaf8e3b into dotnet:main May 14, 2022
@steveisok steveisok deleted the add-win-manifest branch May 14, 2022 04:12
@steveisok
Copy link
Member Author

/backport to release/6.0

@github-actions
Copy link
Contributor

Started backporting to release/6.0: https://github.com/dotnet/runtime/actions/runs/2322894585

@github-actions
Copy link
Contributor

@steveisok backporting to release/6.0 failed, the patch most likely resulted in conflicts:

$ git am --3way --ignore-whitespace --keep-non-patch changes.patch

Applying: Add windows runtime packs as a workload
Applying: Include all windows packs in workload
Applying: Fix names
Applying: Add windows as a component resource
Applying: Add runtime pack artifacts to be copied
Using index info to reconstruct a base tree...
M	eng/pipelines/mono/templates/workloads-build.yml
Falling back to patching base and 3-way merge...
Auto-merging eng/pipelines/mono/templates/workloads-build.yml
CONFLICT (content): Merge conflict in eng/pipelines/mono/templates/workloads-build.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0005 Add runtime pack artifacts to be copied
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".
Error: The process '/usr/bin/git' failed with exit code 128

Please backport manually!

steveisok pushed a commit to steveisok/runtime that referenced this pull request May 16, 2022
Backport of dotnet#68981

At certain points in time internally, the sdk will rev its version and insert into VS. It's at this point the sdk version will be ahead of the runtime version as we have not published anything into nuget. In MAUI and WinUI scenarios, this creates a bit of a pickle as the sdk will try to download a new version of the windows runtime pack, but it will not be available.

To get around this limitation, we are introducing a workload that will be inserted into VS where you can optionally install Windows runtime packs.
carlossanlop pushed a commit that referenced this pull request May 16, 2022
Backport of #68981

At certain points in time internally, the sdk will rev its version and insert into VS. It's at this point the sdk version will be ahead of the runtime version as we have not published anything into nuget. In MAUI and WinUI scenarios, this creates a bit of a pickle as the sdk will try to download a new version of the windows runtime pack, but it will not be available.

To get around this limitation, we are introducing a workload that will be inserted into VS where you can optionally install Windows runtime packs.

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
@ghost ghost locked as resolved and limited conversation to collaborators Jun 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants