-
Notifications
You must be signed in to change notification settings - Fork 91
Open
Description
Error:
C:\Program Files\dotnet\sdk\10.0.101\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.PackProjectTool.props(16,13): error MSB4022: The result "" of evaluating the value "$(MicrosoftNETBuildTasksAssembly)" of the "AssemblyFile" attribute in element is not valid.
Specifically this is the CargoInstall.proj project inside the SDK

This is because this PR: dotnet/sdk#49479. It adds:
<UsingTask TaskName="Microsoft.NET.Build.Tasks.GetNuGetShortFolderName"
AssemblyFile="$(MicrosoftNETBuildTasksAssembly)" />MicrosoftNETBuildTasksAssembly is defined in Microsoft.NET.Sdk.Common.targets, which the CargoInstall.proj does not import. It does import Microsoft.NET.Sdk's props, but not the targets.
Metadata
Metadata
Assignees
Labels
No labels