ADO analyser problem with my lib

Hello dears,

The first build works on ADO but the second pipeline return me this message for all my xaml in my library :

##[error]##[error] Guid: 65052eae-0762-411f-9d53-c168a3d47182
##[error] Description : Could not parse file D:\AgentTFS\Ag026B_work\638\s\Library\OsmoseTresoDeconnexion.xaml. Reason: Autofac.Core.DependencyResolutionException: An exception was thrown while activating λ:UiPath.Studio.Platform.Contracts.IPlatformWrapper. —> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. —> System.IO.FileNotFoundException: Could not load file or assembly ‘System.Activities.ViewModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’. The system cannot find the file specified. File name: ‘System.Activities.ViewModels, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null’ at UiPath.Studio.Platform.Wrapper.ResourceHandling.PlatformWrapper…ctor() at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) — End of inner exception stack trace — at System.RuntimeType.CreateInstanceDefaultCtor(Boolean publicOnly, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type, Boolean nonPublic, Boolean wrapExceptions) at System.Activator.CreateInstance(Type type) at UiPath.Studio.DataBaseServer.ServiceRegistry.<>c.b__0_5(IServiceResolver sr) at UiPath.Studio.App.ServiceLocator.ServiceLocatorAutofac.<>c__DisplayClass14_01.<RegisterType>b__0(IComponentContext r) at Autofac.RegistrationExtensions.<>c__DisplayClass39_01.b__0(IComponentContext c, IEnumerable1 p) at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_01.b__0(IComponentContext c, IEnumerable1 p) at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable1 parameters) at Autofac.Core.Activators.Delegate.DelegateActivator.b__2_0(ResolveRequestContext ctxt, Action1 next) at Autofac.Core.Resolving.Middleware.DelegateMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) — End of inner exception stack trace — at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.RegistrationPipelineInvokeMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.SharingMiddleware.<>c__DisplayClass5_0.b__0() at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid id, Func1 creator) at Autofac.Core.Lifetime.LifetimeScope.CreateSharedInstance(Guid primaryId, Nullable1 qualifyingId, Func1 creator) at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action1 next) at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request) at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request) at Autofac.Core.Lifetime.LifetimeScope.ResolveComponent(ResolveRequest request) at lambda_method215(Closure ) at UiPath.Studio.DataBaseServer.Services.PlatformDependentServicesFactory.CreateService[T](Func1 factory) at UiPath.Studio.DataBaseServer.Services.PlatformDependentServicesFactory.CreatePlatformWrapper() at UiPath.Studio.DataBaseServer.Services.Workflow.DbWorkflowParser.<>c__DisplayClass10_0.<.ctor>b__1() at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode) --- End of stack trace from previous location --- at System.Lazy1.CreateValue() at UiPath.Studio.DataBaseServer.Services.Workflow.DbWorkflowParser.ParseUiPathActivityTypeId(Activity activity, ActivityModel model) at UiPath.Studio.DataBaseServer.Services.Workflow.DbWorkflowParser.ParseHook(Activity activity, ActivityModel model) at UiPath.Studio.DataBaseServer.Shared.Parser.Services.WorkflowParser.ParseActivity(Activity activity, IActivityModel parent, IWorkflowElement immediateParent, IActivityContext parentContext, IWorkflowParseContext workflowParseContext, Boolean useWorkflowViewState) at UiPath.Studio.DataBaseServer.Shared.Parser.Services.WorkflowParser.ParseActivity(Activity activity, IActivityModel parent, IWorkflowElement immediateParent, IActivityContext parentContext, IWorkflowParseContext workflowParseContext, Boolean useWorkflowViewState) at UiPath.Studio.DataBaseServer.Services.Workflow.DbWorkflowParser.<>c__DisplayClass11_0.b__0() at UiPath.Studio.Workflow.Shared.Utilities.MetadataUtils.ExecuteWithMetadataStoreExceptionRetryInternal(Action action, Boolean continueOnCapturedContext, Int32 retryCount, Int32 retryAttemptDelayMs, Func`2 delayFunc) at UiPath.Studio.DataBaseServer.Services.Workflow.DbWorkflowParser.Parse(String fileName, String projectDirectory, CancellationToken cancellationToken)
##[error] ErrorCode :
##[error] ErrorSeverity : Error
##[error] FilePath :
##[error] Recommendation :

I already try to clean dependencies and project.json but the problem is here again…

Someone has the answer ? :confused:

Hello @Christopher_p!

It seems that you have trouble getting an answer to your question in the first 24 hours.
Let us give you a few hints and helpful links.

First, make sure you browsed through our Forum FAQ Beginner’s Guide. It will teach you what should be included in your topic.

You can check out some of our resources directly, see below:

  1. Always search first. It is the best way to quickly find your answer. Check out the image icon for that.
    Clicking the options button will let you set more specific topic search filters, i.e. only the ones with a solution.

  2. Topic that contains most common solutions with example project files can be found here.

  3. Read our official documentation where you can find a lot of information and instructions about each of our products:

  4. Watch the videos on our official YouTube channel for more visual tutorials.

Hopefully this will let you easily find the solution/information you need. Once you have it, we would be happy if you could share your findings here and mark it as a solution. This will help other users find it in the future.

Thank you for helping us build our UiPath Community!

Cheers from your friendly
Forum_Staff