-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBuild.props
More file actions
72 lines (68 loc) · 2.93 KB
/
Copy pathBuild.props
File metadata and controls
72 lines (68 loc) · 2.93 KB
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
<?xml version="1.0" encoding="utf-8"?>
<Project>
<PropertyGroup>
<Configurations>R2020;R2021;R2022;R2023;R2024;R2025;R2026;R2027</Configurations>
<Platforms>AnyCPU</Platforms>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2020'">
<RevitVersion>2020</RevitVersion>
<TargetFramework>net47</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2021'">
<RevitVersion>2021</RevitVersion>
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2022'">
<RevitVersion>2022</RevitVersion>
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2023'">
<RevitVersion>2023</RevitVersion>
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2024'">
<RevitVersion>2024</RevitVersion>
<TargetFramework>net48</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2025'">
<RevitVersion>2025</RevitVersion>
<TargetFramework>net8.0-windows</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2026'">
<RevitVersion>2026</RevitVersion>
<TargetFramework>net8.0-windows</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)' == 'R2027'">
<RevitVersion>2027</RevitVersion>
<TargetFramework>net8.0-windows</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="'$(RevitVersion)' != ''">
<OutputPath>bin\$(Configuration)\</OutputPath>
<DefineConstants>DEBUG;$(Configuration);REVIT_$(RevitVersion)</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<PlatformTarget>x64</PlatformTarget>
<LangVersion>default</LangVersion>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<Deterministic>true</Deterministic>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
<UseWPF>true</UseWPF>
</PropertyGroup>
<ItemGroup>
<PackageReference Condition="'$(Configuration)' == 'R$(RevitVersion)'" Include="Revit_All_Main_Versions_API_x64" Version="$(RevitVersion).*" IncludeAssets="build; compile"/>
</ItemGroup>
<ItemGroup>
<Reference Include="PresentationCore"/>
<Reference Include="PresentationFramework"/>
<Reference Include="System"/>
<Reference Include="System.Core"/>
<Reference Include="System.Drawing"/>
<Reference Include="System.Windows.Forms"/>
<Reference Include="WindowsBase"/>
</ItemGroup>
</Project>