Getting error message as 'Cannot create unknown type '{clr-namespace:'My_Custom_Activity';assembly=My_Custom_Activity}Test_Login

Getting error message as ‘Cannot create unknown type ‘{clr-namespace:‘My_Custom_Activity’;assembly=My_Custom_Activity}Test_Login’.’.uipcli Error: 0 : Unexpected error has occurred during the library compilation process

Here ‘Test_Login’ is a Workflow of a library ‘My_Custom_Activity’ which i Have created, its build successfully but when I am using this library in a process that process build is failing

Activities used : UiAutomation : 22.10.5
System Activities : 22.10.5 in both library and main process

P.S. Process Gets Published to Orchestrator with no issues but In azure devops Pipeline it Fails

Any Suggestions are welcomed !
azure-devops uiautomation

Check the library. How created? Windows or Legacy

The pipeline cannot find the library dependency. Its not accessible in any of the feeds its using.