CS0246: The type or namespace name 'GlobalVariablesNamespace' could not be found (are you missing a using directive or an assembly reference?) while project packing using UiPath CLI in Azure DevOps pipeline.
Issue: Getting an error while packing the project using UiPath CLI in Azure DevOps pipeline.
Error Screenshot:
Resolution:
- Check the project path (repository) in the pipeline if the local folder is missing
- If missing, create the ‘.local’ folder and uploaded the missing DLL related to the global variables to repository and run the pipeline again.
If the issue persists, create a support ticket and provide the following:
- Pipeline logs
- Project
- UiPath CLI version
- Environment details.