I have added few c# classes to hold the data from one workflow to other , and some methods to get Json in order to call the API
I am able to run and debug the workflow but when I am trying to deploy - it shows below error
i am using - Community Studio - 2024.2.1
Error Could not parse file D:\Code\Test_Flow.xaml. Reason: System.IO.FileLoadException: Could not load file or assembly 'Test_Integrations.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'. Operation is not supported. (0x80131515)
File name: 'Test_Integrations.Core, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null'
---> System.NotSupportedException: Resolving to a collectible assembly is not supported.
at System.Reflection.RuntimeAssembly.<InternalLoad>g____PInvoke|49_0(NativeAssemblyNameParts* __pAssemblyNameParts_native, ObjectHandleOnStack __requestingAssembly_native, StackCrawlMarkHandle __stackMark_native, Int32 __throwOnFileNotFound_native, ObjectHandleOnStack __assemblyLoadContext_native, ObjectHandleOnStack __retAssembly_native)
at System.Reflection.RuntimeAssembly.InternalLoad(AssemblyName assemblyName, StackCrawlMark& stackMark, AssemblyLoadContext assemblyLoadContext, RuntimeAssembly requestingAssembly, Boolean throwOnFileNotFound)
at System.Reflection.TypeNameParser.ResolveAssembly(String assemblyName)
at System.Reflection.TypeNameParser.GetType(String typeName, ReadOnlySpan`1 nestedTypeNames, String assemblyNameIfAny)
at System.Reflection.TypeNameParser.NamespaceTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
at System.Reflection.TypeNameParser.GenericTypeName.ResolveType(TypeNameParser& parser, String containingAssemblyIfAny)
at System.Type.GetType(String typeName, Boolean throwOnError)
at UiPath.Studio.DataBaseServer.Shared.Parser.Extensions.ActivityModelExtensions.IsIfActivity(IActivityModel activityModel)
at UiPath.Studio.DataBaseServer.Shared.Parser.Extensions.ActivityModelExtensions.IsActivityContainer(Activity activity, IActivityModel parent)
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.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.<Parse>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)