-
Notifications
You must be signed in to change notification settings - Fork 0
/
Directory.Build.props
87 lines (82 loc) · 3.32 KB
/
Directory.Build.props
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
<Project>
<!-- Generic Assembly Info -->
<!-- Note: Assembly versioning are located in the bottom of this file! -->
<PropertyGroup>
<Product>DynamoSample</Product>
<Copyright>Copyright(c) 20xx, the package editor</Copyright>
<PackageProjectUrl>https://github.com/xxx/zzz</PackageProjectUrl>
</PropertyGroup>
<!-- Generic Project Configuration -->
<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>
<UseWinUI>true</UseWinUI>
<LangVersion>latest</LangVersion>
<PlatformTarget>x64</PlatformTarget>
<WarningLevel>4</WarningLevel>
<GenerateDocumentationFile>True</GenerateDocumentationFile>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<RestoreLockedMode>true</RestoreLockedMode>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<Configurations>206-R21;212-R22;216-R23;219-R24;300-R25</Configurations>
<NoWarn>CS1591;CS0168;CS8618;CS1591;CS0419;MSB3052;MSB3277</NoWarn>
</PropertyGroup>
<!-- Individual/Vertical Configurations -->
<Choose>
<When Condition="$(Configuration.Equals('300-R25'))">
<PropertyGroup>
<PackageBuild>0.0</PackageBuild>
<DynamoBuild>3.0</DynamoBuild>
<RevitVersion>2025</RevitVersion>
<TargetFramework>net8.0-windows</TargetFramework>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Dynamo\Dynamo Core\3.0\DynamoSandbox.exe</StartProgram>
</PropertyGroup>
</When>
<When Condition="$(Configuration.Equals('219-R24'))">
<PropertyGroup>
<PackageBuild>0.0</PackageBuild>
<DynamoBuild>2.19</DynamoBuild>
<RevitVersion>2024</RevitVersion>
<TargetFramework>net48</TargetFramework>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Dynamo\Dynamo Core\2.19\DynamoSandbox.exe</StartProgram>
</PropertyGroup>
</When>
<When Condition="$(Configuration.Equals('216-R23'))">
<PropertyGroup>
<PackageBuild>0.0</PackageBuild>
<DynamoBuild>2.16</DynamoBuild>
<RevitVersion>2023</RevitVersion>
<TargetFramework>net48</TargetFramework>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Dynamo\Dynamo Core\2.16\DynamoSandbox.exe</StartProgram>
</PropertyGroup>
</When>
<When Condition="$(Configuration.Equals('212-R22'))">
<PropertyGroup>
<PackageBuild>0.0</PackageBuild>
<DynamoBuild>2.12</DynamoBuild>
<RevitVersion>2022</RevitVersion>
<TargetFramework>net48</TargetFramework>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Dynamo\Dynamo Core\2.12\DynamoSandbox.exe</StartProgram>
</PropertyGroup>
</When>
<When Condition="$(Configuration.Equals('206-R21'))">
<PropertyGroup>
<PackageBuild>0.0</PackageBuild>
<DynamoBuild>2.6</DynamoBuild>
<RevitVersion>2021</RevitVersion>
<TargetFramework>net48</TargetFramework>
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Dynamo\Dynamo Core\2.6\DynamoSandbox.exe</StartProgram>
</PropertyGroup>
</When>
</Choose>
<!-- Assembly Info, versioning -->
<PropertyGroup>
<Version>$(DynamoBuild).$(PackageBuild)</Version>
</PropertyGroup>
</Project>