Skip to content

Throw an error if the Sdk attribute contains any expandable characters #1518

@jeffkl

Description

@jeffkl

Right now the Sdk value is treated as a literal string with no expansion. If a user specifies something like:

<Project Sdk="$(Property1)" />

Then the value "$(Property1)" is passed to the resolver which would probably return a message stating that it couldn't be found. We should instead check if the value contains expandable characters and throw an invalid project error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions