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

Remove netcoreap20 #3528

Merged
merged 4 commits into from Aug 3, 2018
Merged

Remove netcoreap20 #3528

merged 4 commits into from Aug 3, 2018

Conversation

cdmihai
Copy link
Contributor

@cdmihai cdmihai commented Jul 19, 2018

No description provided.

Copy link
Member

@rainersigwald rainersigwald left a comment

Choose a reason for hiding this comment

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

LGTM; fyi for SDK/cli folks @livarcocc @nguerrera @dsplaisted

Timing: this will be for MSBuild 16; 15.8 and 15.9 we'll ship from a branch that keeps building this way.

@cdmihai
Copy link
Contributor Author

cdmihai commented Jul 19, 2018

Here's me thinking that deleting the tfm will just work. :)

@cdmihai
Copy link
Contributor Author

cdmihai commented Jul 19, 2018

@crummel, does this break any sourcebuild scenarios?

@cdmihai
Copy link
Contributor Author

cdmihai commented Jul 20, 2018

@dotnet-bot test Windows_NT Build for Full

@crummel
Copy link
Contributor

crummel commented Jul 20, 2018

@cdmihai This should be fine for source-build. We should be on at least netcoreapp2.1 for everything consuming MSBuild. I'll try it out but no need to hold it up on our account.

Copy link
Contributor

@crummel crummel left a comment

Choose a reason for hiding this comment

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

Source-build builds and passes smoke tests with this change.

@AndyGerlicher AndyGerlicher merged commit 745fece into dotnet:master Aug 3, 2018
ccastanedaucf pushed a commit to ccastanedaucf/msbuild that referenced this pull request Aug 6, 2018
* Remove netcoreap20
* Remove .NET Core 2.0 results
* Remove netstandard2.0 for Microsoft.Build
ccastanedaucf pushed a commit to ccastanedaucf/msbuild that referenced this pull request Aug 7, 2018
* Remove netcoreap20
* Remove .NET Core 2.0 results
* Remove netstandard2.0 for Microsoft.Build
@joeltankam
Copy link

@AndyGerlicher can you please explain why it was necessary to remove .NET Standard 2.0 targeting (d351690) ?
Now libraries (not applications) referencing Microsoft.Build can no longer target .NET Standard, which is inconvenient.

@AndyGerlicher
Copy link
Contributor

I don't really remember the details, but I'm pretty sure that Microsoft.Build.dll uses APIs that are not available in all implementations of netstandard2.0. I think we're in agreement here that it is inconvenient, but I don't believe that it can be resolved without breaking changes.

@dsplaisted
Copy link
Member

@joeltankam The reason was that it's not generally possible to create working .NET Standard build tasks. There are lots of APIs (System.Reflection.Metadata, System.Collections.Immutable, System.Text.Json) where build tasks that use those APIs need to include the implementations, and the implementations are different for .NET Core and .NET Framework. So compiling an MSBuild task for .NET Standard doesn't help if you need to ship different dependencies for .NET Core and .NET Framework.

@joeltankam
Copy link

@AndyGerlicher @dsplaisted Thank you.

@cdmihai cdmihai deleted the removeNetcoreapp20 branch December 30, 2020 22:52
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

Successfully merging this pull request may close these issues.

None yet

6 participants