Skip to content

Arcade property paths are incompletely changed #8642

@crummel

Description

@crummel

In Arcade, we have conditional TFMs to build for net6.0 instead of net3.1 when building with DotNetBuildFromSource=true. However, these changes have failed to account for some places where the TFM is embedded into paths that need to be accessed during the build run - for instance,

<ArcadeSdkBuildTasksAssembly Condition="'$(MSBuildRuntimeType)' != 'Core'">$(MSBuildThisFileDirectory)net472\Microsoft.DotNet.Arcade.Sdk.dll</ArcadeSdkBuildTasksAssembly>
<ArcadeSdkBuildTasksAssembly Condition="'$(MSBuildRuntimeType)' == 'Core'">$(MSBuildThisFileDirectory)netcoreapp3.1\Microsoft.DotNet.Arcade.Sdk.dll</ArcadeSdkBuildTasksAssembly>
. There was a change made in main to account for one instance of this: 9ffc76a but this hasn't been backported yet and should be expanded to most places the TFM is embedded in a path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions