How can we help you today? How can we help you today?
ebezold
Hello, We are facing the same issue. Exact same error as the original post. In our case, we have a OnPremises build agent, which is part of our Azure Pipelines. Our pipeline downloads the artifacts and performs the build of the project. As AI is installed on the Agent machine, we are not using specific tasks other than "Visual Studio Build", AI is installed on the machine, so we expect that it runs without problems, like a local build. Our AI version is 19.7 and it is installed and updated on the server. Before updates, it was running fine. Error log: [error]C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\MSBuild\SqlChangeAutomation\SqlChangeAutomation.Data.Schema.Ssdt.targets(117,5): Error MSB4018: The "DBBuildTask" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified. File name: 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'   at RedGate.Versioning.Engine.Shared.Logging.Serilog.SerilogLoggerConfiguration..ctor(IServiceIdentifier serviceId)    at RedGate.Versioning.Client.MsBuild.MsBuildModule.Load(ContainerBuilder builder)    at Autofac.Module.Configure(IComponentRegistry componentRegistry)    at Autofac.ContainerBuilder.Build(IComponentRegistry componentRegistry, Boolean excludeDefaultModules)    at Autofac.ContainerBuilder.UpdateRegistry(IComponentRegistry componentRegistry)    at Autofac.Core.Lifetime.LifetimeScope.CreateScopeRestrictedRegistry(Object tag, Action`1 configurationAction)    at Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(Object tag, Action`1 configurationAction)    at Autofac.Core.Lifetime.LifetimeScope.BeginLifetimeScope(Action`1 configurationAction)    at Autofac.Core.Container.BeginLifetimeScope(Action`1 configurationAction)    at RedGate.Versioning.Client.MsBuild.SqlChangeAutomationTask`2.Execute()    at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()    at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__26.MoveNext() / comments
Hello,We are facing the same issue. Exact same error as the original post.In our case, we have a OnPremises build agent, which is part of our Azure Pipelines.Our pipeline downloads the artifacts an...
0 votes