CS0246: The type or namespace name 'GlobalVariablesNamespace' could not be found (are you missing a using directive or an assembly reference?)

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:
image.png


Resolution:

  1. Check the project path (repository) in the pipeline if the local folder is missing
  2. 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:

  1. Pipeline logs
  2. Project
  3. UiPath CLI version
  4. Environment details.