Skip to content

ToolLocationHelper property functions require reflection #10411

Open
@rainersigwald

Description

@rainersigwald

Follow up to #10398.

The following members are invoked on a dotnet build and/or dotnet publish of the console and web templates and forced to fallback to the reflection-based lookups:

ReceiverType ObjectInstanceType MethodName
Microsoft.Build.Utilities.ToolLocationHelper GetPlatformSDKLocation(String, String)
Microsoft.Build.Utilities.ToolLocationHelper GetPlatformSDKDisplayName(String, String)

It's not trivial to fix these with the existing fast-path operations, because we probably do not want to add a dependency between Microsoft.Build and Microsoft.Build.Utilities.Core now when it hasn't been there for many years.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions