Azure DevOps build fail could not load Microsoft.ReportingServices.BuildProcess.dll MSB4062

Kraiwin Santipitak 26 Reputation points
2022-09-30T08:02:53.86+00:00

Hi,

I want to create Ci pipeline to build code on Azure DevOps for deploy to Azure App Service.
Project solution can build success on local PC.
But when using Azure DevOps, it's error.

##[error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Reporting Services\Microsoft.ReportingServices.MSBuilder.targets(30,5): Error MSB4062: The "Microsoft.ReportingServices.BuildProcess.ReportBuilderTask" task could not be loaded from the assembly C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Reporting Services\Microsoft.ReportingServices.BuildProcess.dll. Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Reporting Services\Microsoft.ReportingServices.BuildProcess.dll' or one of its dependencies. An attempt was made to load a program with an incorrect format. Confirm that the <UsingTask> 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.

Please help me.

Local PC
Visual Studio 2017

Community Center Not monitored
0 comments No comments
{count} vote

Accepted answer
  1. Anonymous
    2022-09-30T12:57:32.123+00:00

    Devops / TFS is not currently supported here on Q&A. The product group for Azure DevOps / TFS actively monitors questions over at
    https://developercommunity.visualstudio.com/report?space=21&entry=problem
    https://developercommunity.visualstudio.com/report?space=22&entry=problem
    https://azure.microsoft.com/en-in/support/devops/

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.