dotnet / upgrade-assistant

A tool to assist developers in upgrading .NET Framework applications to .NET 6 and beyond
MIT License
1.11k stars 163 forks source link

upgrade-assistant analyze C:\XXXX.csproj - Error - MSBuild not found #1254

Open 176tranthinktechcom opened 2 years ago

176tranthinktechcom commented 2 years ago

Problem encountered on https://dotnet.microsoft.com/zh-cn/platform/upgrade-assistant/tutorial/install-upgrade-assistant Operating System: windows

[15:40:57 ERR] No supported MSBuild found. Ensure dotnet --list-sdks show an install that is 32-bit [15:40:57 ERR] MSBuild not found

C:\WINDOWS\system32>dotnet --list-sdks 2.2.101 [C:\Program Files\dotnet\sdk] 3.0.100-preview-009812 [C:\Program Files\dotnet\sdk] 3.1.422 [C:\Program Files\dotnet\sdk] 5.0.203 [C:\Program Files\dotnet\sdk] 5.0.214 [C:\Program Files\dotnet\sdk] 5.0.303 [C:\Program Files\dotnet\sdk] 5.0.408 [C:\Program Files\dotnet\sdk] 6.0.108 [C:\Program Files\dotnet\sdk] 6.0.400 [C:\Program Files\dotnet\sdk] 7.0.100-preview.7.22377.5 [C:\Program Files\dotnet\sdk]

brandonh-msft commented 2 years ago

@mjrousos, @sunandabalu, @twsouthwick any idea what's going on here? I'm specifically confused by/worried about the "32-bit" piece of the error...

twsouthwick commented 2 years ago

@176tranthinktechcom what's the CPU arch of your machine? x86/amd64/arm64?