@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.
@ViktorHofer It seems like you've broken this in dotnet/dotnet#2177 with the
<TargetFramework />inside the PBT project:wpf/src/Microsoft.DotNet.Wpf/src/PresentationBuildTasks/PresentationBuildTasks.csproj
Lines 3 to 4 in 4425f57
Wouldn't something like a conditional on whether
NetFrameworkToolCurrentdoesn'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.