I am getting below error while building Azure pipeline for sonarqube integration
error MSB4062: The “MakeUniqueDir” task could not be loaded from the assembly C:\Agent2_work\1.sonarqube\bin\SonarScanner.MSBuild.Tasks.dll. Could not load file or assembly ‘Microsoft.Build.Utilities.Core, Version=14.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ or one of its dependencies. The system cannot find the file specified. Confirm that the declaration is correct, that the assembly and all its dependencies are available, and that the task contains a public class that implements Microsoft.Build.Framework.ITask.
Hey there.
Is Visual Studio, or at least Visual Studio Build Tools installed on the machine you’re trying to perform analysis on?
Thank you for your response
After installation of MSBuild tool issue got resolved.
1 Like
Thanks for the follow-up!