Skip to content

Microsoft.Common.tasks cleanup #5190

@rainersigwald

Description

@rainersigwald

Microsoft.Common.tasks has every built-in MSBuild task duplicated between sections, one of which is

https://github.com/microsoft/msbuild/blob/3453beee039fb6f5ccc54ac783ebeced31fec472/src/Tasks/Microsoft.Common.tasks#L9-L14

I don't think we need to have back compat with dev11 any more, and $(AssemblyVersion) should never be empty with MSBuild as built from this repo.

I'm not 100% sure of the impact of just deleting all the 4.0 references; that needs to be considered.

We cannot delete the 3.5 references like

https://github.com/microsoft/msbuild/blob/3453beee039fb6f5ccc54ac783ebeced31fec472/src/Tasks/Microsoft.Common.tasks#L39

They're needed for asset compat on old projects. But they should be conditioned out on .NET Core, which they currently are not.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-designRequires discussion with the dev team before attempting a fix.triaged

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions