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

Use new HostModel APIs #10849

Merged
1 commit merged into from
Mar 13, 2020
Merged

Use new HostModel APIs #10849

1 commit merged into from
Mar 13, 2020

Conversation

swaroop-sridhar
Copy link
Contributor

Update GenerateBundle task and a few others to use the new APIs in HostModel intruduced by dotnet/runtime#33413.
This change is in preparation for moving to new PublishSingleFile semantics in .net 5.

In GenerateBundle task, the SDK constructs the bundler with BundleAllContent option for all builds.
This keeps the behavior of PublishSingleFile unchanged until Host/Runtime components of the feature are ready.

Update GenerateBundle task and a few others to use the new APIs in HostModel intruduced by dotnet/runtime#33413.
This change is in preparation for moving to new PublishSingleFile semantics in .net 5.

In GenerateBundle task, the SDK constructs the bundler with `BundleAllContent` option for all builds.
This keeps the behavior of PublishSingleFile unchanged until Host/Runtime components of the feature are ready.
@swaroop-sridhar swaroop-sridhar requested review from dsplaisted and wli3 and removed request for dsplaisted March 12, 2020 21:18
@wli3 wli3 added auto-merge Automatically merge PR once CI passes. Auto-Merge If Tests Pass labels Mar 13, 2020
@ghost
Copy link

ghost commented Mar 13, 2020

Hello @wli3!

Because this pull request has the Auto-Merge If Tests Pass label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 8d0eaa3 into dotnet:master Mar 13, 2020
swaroop-sridhar added a commit to swaroop-sridhar/runtime that referenced this pull request Mar 13, 2020
Some depricated APIs were maintained in dotnet#33413 so that SDK build is green.
Now that the SDK is updated dotnet/sdk#10849, remove the unused APIs.

Also move out a test-only methods from the product to the test helpers.
swaroop-sridhar added a commit to dotnet/runtime that referenced this pull request Mar 13, 2020
Some depricated APIs were maintained in #33413 so that SDK build is green.
Now that the SDK is updated dotnet/sdk#10849, remove the unused APIs.

Also move out a test-only methods from the product to the test helpers.
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto-Merge If Tests Pass auto-merge Automatically merge PR once CI passes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants