microsoft / MSBuildLocator

An API to locate MSBuild assemblies from an installed Visual Studio location. Use this to ensure that calling the MSBuild API will use the same toolset that a build from Visual Studio or msbuild.exe would.
Other
218 stars 83 forks source link

64-bit runtime does not return correct path, #70

Closed zeptoZB closed 5 years ago

zeptoZB commented 5 years ago

64-bit runtime does not return correct path, is missing add @"\amd64".

rainersigwald commented 5 years ago

Can you clarify what you're asking? Is it "when invoked from a 64-bit process, automatically find the 64-bit assemblies"?

Are you noticing a specific problem? MSBuild's API assemblies are AnyCPU/MSIL, so they should load and run just fine in a 64-bit process.

zeptoZB commented 5 years ago

You're right! Comparing the directories basically the difference is MSBuild.exe.