Repos: Git
Agent: Microsoft Hosted Agent
In Azure Pipeline I am using Visual Studio Build Task to Build BizTalk Solution. But facing below error.
I am using Microsoft Hosted Agent, is there any solution to resolve this except for using Self Hosted Agent?
Error MSB4226: The imported project "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\Microsoft\BizTalk\BizTalkC.targets" was not found. Also, tried to find "Microsoft\BizTalk\BizTalkC.targets" in the fallback search path(s) for $(MSBuildExtensionsPath) - "C:\Program Files (x86)\MSBuild" . These search paths are defined in "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\msbuild.exe.Config". Confirm that the path in the declaration is correct, and that the file exists on disk in one of the search paths.
PS task
before theVS Build task
to install all the missing biztalk components, and as I know there're no simple commands that can do this job. - LoLance