UiPath Documentation
uipath-cli
latest
false

UiPath CLI user guide

Dernière mise à jour 7 mai 2026

uip rpa-legacy validate

uip rpa-legacy validate checks a XAML workflow or an entire project for compilation errors — missing arguments, broken references, type mismatches. Use it as a fast pre-package gate when the cross-platform uip rpa build is not an option (for example, on a Windows-Legacy project).

Windows-only — see the overview warning.

Synopsis

uip rpa-legacy validate <path> [options]
uip rpa-legacy validate <path> [options]
  • <path> (required) — Path to a XAML file, project.json, or project folder to validate.

Options

DrapeauDescription
--result-path <path>Write validation results to a JSON file instead of stdout.
--timeout <seconds>Timeout in seconds for the operation.

Exemples

# Validate an entire project
uip rpa-legacy validate ./MyProject/project.json

# Validate a single XAML, write results to a file for the next CI step
uip rpa-legacy validate ./MyProject/Main.xaml --result-path ./validation.json

# Allow up to 10 minutes for a large project
uip rpa-legacy validate ./MyProject --timeout 600
# Validate an entire project
uip rpa-legacy validate ./MyProject/project.json

# Validate a single XAML, write results to a file for the next CI step
uip rpa-legacy validate ./MyProject/Main.xaml --result-path ./validation.json

# Allow up to 10 minutes for a large project
uip rpa-legacy validate ./MyProject --timeout 600

Voir également

  • Synopsis
  • Options
  • Exemples
  • Related
  • Voir également

Cette page vous a-t-elle été utile ?

Connecter

Besoin d'aide ? Assistance

Vous souhaitez apprendre ? UiPath Academy

Vous avez des questions ? UiPath Forum

Rester à jour