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 netframework assets older than net461 from builds and packaging #53319

Merged
merged 1 commit into from
May 27, 2021

Conversation

ViktorHofer
Copy link
Member

Only a very few number of projects still built for net45-net46.
This PR trims out these assets from the build which of course
results in them not being packaged (as there is no harvesting
mechanism in the repository present anymore).

Suppressing the package warnings for the intentionally dropped
assets and cleaning up conditions in the project file as well.

For more details please see the reasoning in the linked issue.

Contributes to #53282

Only a very few number of projects still built for net45-net46.
This PR trims out these assets from the build which of course
results in them not being packaged (as there is no harvesting
mechanism in the repository present anymore).

Suppressing the package warnings for the intentionally dropped
assets and cleaning up conditions in the project file as well.

For more details please see the reasoning in the linked issue.

Contributes to dotnet#53282
@ViktorHofer ViktorHofer added area-Infrastructure-libraries breaking-change Issue or PR that represents a breaking API or functional change over a prerelease. labels May 26, 2021
@ViktorHofer ViktorHofer added this to the 6.0.0 milestone May 26, 2021
@ViktorHofer ViktorHofer self-assigned this May 26, 2021
@ViktorHofer ViktorHofer requested a review from a team May 26, 2021 22:09
@dotnet-issue-labeler
Copy link

Note regarding the new-api-needs-documentation label:

This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, to please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change.

@ghost
Copy link

ghost commented May 26, 2021

Tagging subscribers to this area: @Anipik, @safern, @ViktorHofer
See info in area-owners.md if you want to be subscribed.

Issue Details

Only a very few number of projects still built for net45-net46.
This PR trims out these assets from the build which of course
results in them not being packaged (as there is no harvesting
mechanism in the repository present anymore).

Suppressing the package warnings for the intentionally dropped
assets and cleaning up conditions in the project file as well.

For more details please see the reasoning in the linked issue.

Contributes to #53282

Author: ViktorHofer
Assignees: ViktorHofer
Labels:

area-Infrastructure-libraries, breaking-change

Milestone: 6.0.0

@ghost ghost added the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label May 26, 2021
@ViktorHofer ViktorHofer removed the request for review from a team May 26, 2021 22:10
@@ -61,12 +60,9 @@
<Link>Common\System\LocalAppContextSwitches.Common.cs</Link>
</Compile>
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' != 'net45'">
<ItemGroup>
<Compile Include="System\Diagnostics\Activity.Current.net46.cs" />
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: should we rename this file ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes good point. Let's do that another time to not reset the PR.

@ViktorHofer ViktorHofer merged commit 5f66f88 into dotnet:main May 27, 2021
@ViktorHofer ViktorHofer deleted the NetFxRemoval branch May 27, 2021 06:17
@ghost ghost locked as resolved and limited conversation to collaborators Jun 26, 2021
@ViktorHofer ViktorHofer removed the needs-breaking-change-doc-created Breaking changes need an issue opened with https://github.com/dotnet/docs/issues/new?template=dotnet label Sep 30, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Infrastructure-libraries breaking-change Issue or PR that represents a breaking API or functional change over a prerelease.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants