Skip to content

Commit 0be8356

Browse files
committed
Added Launch Settings and Choice of Inventor version in template.json
1 parent 549b212 commit 0be8356

File tree

2 files changed

+26
-18
lines changed

2 files changed

+26
-18
lines changed

.template.config/template.json

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -13,29 +13,28 @@
1313
},
1414
"sourceName": "Inventor.AddinTemplate",
1515
"symbols": {
16-
"Framework": {
16+
"framework": {
1717
"type": "parameter",
18-
"description": "The target framework for the project.",
1918
"datatype": "choice",
20-
"choices": [
21-
{
22-
"choice": "net472"
23-
},
24-
{
25-
"choice": "net48"
26-
},
27-
{
28-
"choice": "net8.0-windows"
29-
}
30-
],
19+
"description": "Select the target .NET framework",
3120
"defaultValue": "net472",
32-
"replaces": "net472"
21+
"choices": [
22+
{ "choice": "net472", "description": ".NETFramework 4.7.2" },
23+
{ "choice": "net48", "description": ".NETFramework 4.8" },
24+
{ "choice": "net8.0-windows", "description": ".NET 8" }
25+
]
3326
},
34-
"skipRestore": {
27+
"Inventor Version": {
3528
"type": "parameter",
36-
"datatype": "bool",
37-
"description": "If specified, skips the automatic restore of the project on create.",
38-
"defaultValue": "false"
29+
"description": "The version of Inventor to launch for debugging.",
30+
"datatype": "choice",
31+
"choices": [
32+
{ "choice": "2023" },
33+
{ "choice": "2024" },
34+
{ "choice": "2025" }
35+
],
36+
"defaultValue": "2025",
37+
"replaces": "2025"
3938
}
4039
},
4140
"sources": [

Properties/launchSettings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "http://json.schemastore.org/launchsettings.json",
3+
"profiles": {
4+
"Inventor.AddinTemplate": {
5+
"commandName": "Executable",
6+
"executablePath": "C:\\Program Files\\Autodesk\\Inventor 2025\\Bin\\Inventor.exe"
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)