Relative Content

Tag Archive for msbuildvisual-studio-2019visual-studio-2022

How to execute the visual studio specific linker.exe from the MSBUILD script

I am in a situation to call the “linker.exe” during the C# project (.csproj) build. If I am building the C# project with Visual studio 2019, then I want to execute the Visual Studio 2019 linker, or if I am building with Visual Studio 2022 then i want to execute the Visual Studio 2022 linker. I have tried below approaches, but all of them are failing to find the visual studio specific link.exe.