dotnet / dotnet/msbuild

Amd64 MSBuild restore does not load amd64\NuGet.Build.Tasks.dll

Open
#13,552 3 comments 0 reactions 1 assignee Claimed by @rainersigwald View on GitHub
triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

### Issue Description

`MSBuild version 18.3.0-release-26070-10+3972042b7 for .NET Framework`

msbuild.exe loaded from `bin\amd64` loads NuGet.Build.Tasks.dll from `bin` folder.

### Steps to Reproduce

The command on one of our projects yields
`msbuild /t:restore`

### Expected Behavior

The dll and the .exe are loaded from the same folder as msbuild.exe which is `bin\amd64`

### Actual Behavior

Both loaded from `bin` folder

### Analysis

Image

MSbuild claims it will load the ResolveTaskEx from `bin\amd64` folder, but it is loaded from `bin` folder. This has a cascading effect of loading the NuGet.Build.Tasks.Console.exe also from the bin folder.

### Versions & Configurations

_No response_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.