Skip to content

Full solution build fails within Visual Studio #11650

Description

@h3xds1nz

@ViktorHofer It seems like you've broken this in dotnet/dotnet#2177 with the <TargetFramework /> inside the PBT project:

<TargetFrameworks>$(BundledNETCoreAppTargetFramework);$(NetFrameworkToolCurrent)</TargetFrameworks>
<TargetFramework />

Wouldn't something like a conditional on whether NetFrameworkToolCurrent doesn't have a value do the same job with less unpredictable behaviour since I assume when you're building on unix this one will be unset?

Without removing the empty TargetFramework this fails within Visual Studio with error MSB4057: The target "GetTargetPath" does not exist in the project.

Metadata

Metadata

Assignees

No one assigned

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions