Project.json
は、自動的に生成されるファイルで、プロジェクト フォルダーにメインとしてマークされた各 .xaml
ファイルに作成されます。
このファイルには、プロジェクトの依存関係やライブラリに読み込まれた Web サービスなど、さまざまな情報が含まれています。ライブラリの Web サービスの詳細については、「ライブラリに Web サービスを読み込む」をご覧ください。
重要:
project.json
ファイルを手動で編集すると、重大な結果につながり、サポートが得られなくなる可能性があるため、トラブルシューティングの場合にのみ試みるようにしてください。
2018.2 では、プロジェクトをクライアントの UiRobot.exe (コマンド ライン) クライアントから実行する際にproject.json
ファイルを指定する必要があります。
Project.json
ファイルに定義されているパラメーターの説明を以下の表に示します。
Parameter | Description |
---|---|
| The title of the automation project. It is provided in Studio when creating a new process or library. |
| The description of the project. It is provided in the Description field in Studio when a new project is created. |
| The entry point of the automation project. It consists of an |
| The activities packages used to create the automation project and their versions. The list is updated every time a dependency is added or removed from the project, or when a package version changes. |
|
|
|
|
| The version of the |
| The version of Studio used to create the automation project. This parameter is updated with the Studio version in which the latest changes were made. |
| The version used when publishing this project to a feed. Represents the one set in the Publish window. |
|
|
|
|
| Contains the following information for each |
| The language set for the process (VisualBasic or CSharp). |
| Contains the following information for each file marked as an entry point to the process |
| Whether the project is a template. |
| Contains the following information for template projects:
|
| The target framework set for the project (Legacy, Windows, or Portable). |
以下の例は、Studio からパブリッシュされたパッケージに含まれる project.json
ファイルの内容です。
{
"name": "UI-40028",
"description": "Blank Process",
"main": "Flowchart.xaml",
"dependencies": {
"UiPath.Excel.Activities": "[2.9.3]",
"UiPath.Mail.Activities": "[1.9.3]",
"UiPath.System.Activities": "[20.10.1]",
"UiPath.UIAutomation.Activities": "[20.10.6]"
},
"webServices": [],
"entitiesStores": [],
"schemaVersion": "4.0",
"studioVersion": "20.10.2.0",
"projectVersion": "1.0.1",
"runtimeOptions": {
"autoDispose": false,
"isPausable": true,
"requiresUserInteraction": true,
"supportsPersistence": false,
"excludedLoggedData": [
"Private:*",
"*password*"
],
"executionType": "Workflow",
"readyForPiP": false,
"startsInPiP": false
},
"designOptions": {
"projectProfile": "Developement",
"outputType": "Process",
"libraryOptions": {
"includeOriginalXaml": false,
"privateWorkflows": []
},
"processOptions": {
"ignoredFiles": []
},
"fileInfoCollection": [],
"modernBehavior": false
},
"arguments": {
"input": [
{
"name": "argument1",
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"required": false,
"hasDefault": false
},
{
"name": "argument2",
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"required": false,
"hasDefault": false
}
],
"output": []
},
"expressionLanguage": "VisualBasic",
"entryPoints": [
{
"filePath": "Main.xaml",
"uniqueId": "5289efb0-f8bc-42f3-8cf4-0caa3a7d1915",
"input": [
{
"name": "argument1",
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"required": false,
"hasDefault": false
},
{
"name": "argument2",
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"required": false,
"hasDefault": false
}
],
"output": []
},
{
"filePath": "Flowchart.xaml",
"uniqueId": "d0904ba0-506e-437d-979c-b9da4325faad",
"input": [
{
"name": "argument1",
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"required": false,
"hasDefault": false
},
{
"name": "argument2",
"type": "System.String, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089",
"required": false,
"hasDefault": false
}
],
"output": []
}
],
"isTemplate": false,
"templateProjectData": {},
"publishData": {}
}
3 か月前に更新