- Überblick
- Erste Schritte
- Konzepte
- Verwenden der UiPath CLI
- Anleitungen
- CI/CD-Rezepte
- Befehlsreferenz
- Überblick
- Exitcodes
- Globale Optionen
- UIP-codierter Agent
- UIP-Coded
- UIP-Kontextgrundlage
- UIP-Dokumentation
- UIP-Funktion
- UIP-Leitplanken
- uip llm-configuration
- uip llm-gateway
- UIP-Modellhub
- Add-Test-Data-Entität
- Add-Test-Data-Queue
- Add-Test-Data-Variation
- Analysieren
- Erstellen
- Ein Projekt erstellen
- Diff
- Suchaktivitäten
- Get-Analyse-Regeln
- get-standard-aktivität-xaml
- Fehler abrufen
- Manuelle-Testfälle erhalten
- Manuelle-Testschritte erhalten
- Get-Library-Object-Repository
- Get-Object-Repository
- Get-Versionen
- Beispiel für einen Workflow abrufen
- Anwendung anzeigen
- Anzeigeelement
- Inspektionspaket
- install-data-fabric-entities
- Pakete installieren oder aktualisieren
- list-data-fabric-entities
- Listeninstanzen
- Beispiele für Listenworkflows
- Packen
- Veröffentlichen
- Remote
- restore
- Ausführen, Debuggen & Ausführung enthält
- Ausführungsdatei installieren
- Suchvorlagen
- Studio starten
- Ausführung anhalten
- TM
- UIA
- UIP-Aufgaben
- UIP-Ablaufverfolgungen
- Feedback zu UIP-Ablaufverfolgungen
- Migration
- Referenz und Support
UIP-RPA-Paket
Syntax und Optionen für „uip rpa pack“, das ein UiPath Studio-Projekt zum Hochladen in den Orchestrator in ein „.nupkg“-Archiv verpackt.
uip rpa pack packages a UiPath Studio project directory into a .nupkg archive that can be uploaded to Orchestrator or published to a feed. It is the modern replacement for uipcli package pack from the legacy .NET CLI. Refer to Migration — package pack for the full flag-to-flag map.
Runtime-Anforderungen
- .NET runtime must be available on the runner — the Studio packager is .NET-backed. Refer to Breaking changes — .NET runtime.
- Windows runner for Windows projects. Cross-platform Studio projects (
targetFramework: "Portable") can be packed on any OS. Windows projects (targetFramework: "Windows") require a Windows runner — the Linux and macOS workflow compilers cannot resolve Windows-only references. Windows - Legacy projects requireuip rpa-legacy, which is Windows-only by design. Refer to uip rpa overview for details.
Zusammenfassung
uip rpa pack <project> [output-path] [options]
uip rpa pack <project> [output-path] [options]
<project>– Der Pfad zum Studio-Projekt (ein Verzeichnis mitproject.json).[output-path]— directory where the.nupkgis written. Pass it here or as--output-path.
Für die vollständige Optionsliste zu Ihrer installierten Toolversion führen Sie Folgendes aus:
uip rpa pack --help
uip rpa pack --help
The flag set is the same in concept as legacy uipcli package pack: output directory, package metadata overrides, output type, analyzer settings, and signing material. Flag names are kebab-case (--output-type, --package-version, --signing-certificate-path) rather than the PascalCase used by uipcli. Refer to Migration — package pack for the legacy-to-modern flag map.
Ein Paket gepackt mit --output-type Library wird mit uip or libraries hochgeladen, nicht mit uip or packages.
Source and dependency options
When these flags are omitted, the project's own settings in Studio apply.
| Markieren | Beschreibung |
|---|---|
--include-sources | Include source files in the package. When neither this flag nor --no-include-sources is passed, the project's Include Sources setting (stored in .project/design.json) applies, and sources are included when the project does not set it. |
--no-include-sources | Exclude source files, overriding the project's own setting. |
--skip-dependency-optimization | Skip dependency optimization. When omitted, the project's Separate Runtime Dependencies setting applies. |
Analyzer and governance options
pack runs the workflow analyzer before packaging unless you pass --skip-analyze.
| Markieren | Beschreibung |
|---|---|
--skip-analyze | Skip the analysis step. |
--governance-file-path <path> | Path to a governance policy rules JSON file. When the signed-in tenant publishes an Automation Ops policy, that policy applies and this file is ignored with a warning. When the tenant publishes none, or the answer cannot be established, this file applies. |
--governance-file-type <type> | How a supplied policy file is read: Default, AutomationOps, or Studio. With a policy file and no type, pack reads it as Studio. |
--policy-file <path> | Alias for --governance-file-path. |
--policy-file-type <type> | Alias for --governance-file-type. |
--governance-product <product> | Product whose published Automation Ops policy is resolved, for example Development, Business, or StudioWeb. Defaults to Development. Must not be empty. |
--ignored-rules <rules> | Comma-separated analyzer rule IDs whose findings are ignored, for example ST-USG-034,ST-MRD-002. Repeat the flag to add more. The rules still run, but their findings are not reported and do not fail the command. Applies on top of a governance file or the shipped rules. Not applied, with a warning, when the signed-in tenant publishes an Automation Ops policy. |
Beispiele
# Pack without source files, ignoring two analyzer rules
uip rpa pack ./MyProject ./out --no-include-sources --ignored-rules ST-USG-034,ST-MRD-002
# Pack against a local policy file when the tenant publishes no policy
uip rpa pack ./MyProject ./out --governance-file-path ./policies/governance.json
# Pack without source files, ignoring two analyzer rules
uip rpa pack ./MyProject ./out --no-include-sources --ignored-rules ST-USG-034,ST-MRD-002
# Pack against a local policy file when the tenant publishes no policy
uip rpa pack ./MyProject ./out --governance-file-path ./policies/governance.json
Migration von der Legacy-.NET-CLI
| Legacy-.NET-CLI | Moderne CLI |
|---|---|
uipcli package pack <project> | uip rpa pack <project> |
Refer to Migration — package pack for the full flag-level map.
Zugehörig
- uip rpa analysiert – führt die Workflow-Analyse vor dem Packen aus.
- UIP RPA Restore – Stellen Sie vor dem Packen sicher, dass Abhängigkeiten auf der Festplatte vorhanden sind.
- UIP oder Paketupload – Laden Sie ein
ProcessoderTests.nupkgin Orchestrator hoch. - UIP oder Bibliotheken-Upload – Laden Sie ein
Library.nupkgin Orchestrator hoch.