From 767ea7f2c98de3e7ea244c9aaf53dc040761df59 Mon Sep 17 00:00:00 2001
From: chuongmep <31106432+chuongmep@users.noreply.github.com>
Date: Sat, 26 Nov 2022 16:20:25 +0800
Subject: [PATCH] support revit 2024 preview
---
AddInManager.sln | 20 +++++++++++++++++++-
AddInManager/RevitAddinManager.csproj | 8 ++++++--
CHANGELOG.md | 2 ++
Installer/Installer.cs | 2 +-
Test/Test.csproj | 8 ++++++--
5 files changed, 34 insertions(+), 6 deletions(-)
diff --git a/AddInManager.sln b/AddInManager.sln
index e78c408..f42f07a 100644
--- a/AddInManager.sln
+++ b/AddInManager.sln
@@ -21,6 +21,7 @@ Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug R22|Any CPU = Debug R22|Any CPU
Debug R23|Any CPU = Debug R23|Any CPU
+ Debug R24|Any CPU = Debug R24|Any CPU
Installer|Any CPU = Installer|Any CPU
Release R18|Any CPU = Release R18|Any CPU
Release R19|Any CPU = Release R19|Any CPU
@@ -28,6 +29,7 @@ Global
Release R21|Any CPU = Release R21|Any CPU
Release R22|Any CPU = Release R22|Any CPU
Release R23|Any CPU = Release R23|Any CPU
+ Release R24|Any CPU = Release R24|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
@@ -47,6 +49,10 @@ Global
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R23|Any CPU.Build.0 = Release R23|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R23|Any CPU.ActiveCfg = Debug R23|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R23|Any CPU.Build.0 = Debug R23|Any CPU
+ {C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R24|Any CPU.ActiveCfg = Debug R24|Any CPU
+ {C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R24|Any CPU.Build.0 = Debug R24|Any CPU
+ {C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R24|Any CPU.ActiveCfg = Release R24|Any CPU
+ {C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R24|Any CPU.Build.0 = Release R24|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Debug R23|Any CPU.ActiveCfg = Debug|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Installer|Any CPU.ActiveCfg = Release|Any CPU
@@ -57,6 +63,8 @@ Global
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R21|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R22|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
+ {E3C87D34-638C-47A0-A73A-D967B119458D}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
+ {E3C87D34-638C-47A0-A73A-D967B119458D}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug R23|Any CPU.ActiveCfg = Debug|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Installer|Any CPU.ActiveCfg = Release|Any CPU
@@ -66,8 +74,18 @@ Global
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R21|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R22|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
+ {5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug R24|Any CPU.ActiveCfg = Debug|Any CPU
+ {5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R24|Any CPU.ActiveCfg = Release|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R23|Any CPU.ActiveCfg = Debug R23|Any CPU
- {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R23|Any CPU.Build.0 = Debug R23|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R24|Any CPU.ActiveCfg = Release R24|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R24|Any CPU.ActiveCfg = Debug R24|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R18|Any CPU.ActiveCfg = Release R18|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R19|Any CPU.ActiveCfg = Release R19|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R20|Any CPU.ActiveCfg = Release R20|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R21|Any CPU.ActiveCfg = Release R21|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R22|Any CPU.ActiveCfg = Release R22|Any CPU
+ {1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R23|Any CPU.ActiveCfg = Release R23|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
diff --git a/AddInManager/RevitAddinManager.csproj b/AddInManager/RevitAddinManager.csproj
index a79d72e..a6b07ff 100644
--- a/AddInManager/RevitAddinManager.csproj
+++ b/AddInManager/RevitAddinManager.csproj
@@ -6,8 +6,8 @@
true
false
net48
- Debug R22;Debug R23
- $(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23
+ Debug R22;Debug R23;Debug R24
+ $(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23;Release R24
true
@@ -43,6 +43,10 @@
2023
$(DefineConstants);R23
+
+ 2024
+ $(DefineConstants);R24
+
$(RevitVersion)
true
diff --git a/CHANGELOG.md b/CHANGELOG.md
index d799fc6..62d0456 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,4 +1,6 @@
# Changelog
+- 2022-11-26 **1.4.0**
+ - Support Revit 2024 Preview Release
- 2022-11-8 **1.3.9**
- Fix problem with some user install msi with PC company have policy [#41](https://github.com/chuongmep/RevitAddInManager/issues/41).
- 2022-10-16 **1.3.8**
diff --git a/Installer/Installer.cs b/Installer/Installer.cs
index de66eb7..93e6459 100644
--- a/Installer/Installer.cs
+++ b/Installer/Installer.cs
@@ -15,7 +15,7 @@
const string projectName = "RevitAddinManager";
const string outputName = "RevitAddinManager";
const string outputDir = "output";
-const string version = "1.3.9";
+const string version = "1.4.0";
var fileName = new StringBuilder().Append(outputName).Append("-").Append(version);
var project = new Project
diff --git a/Test/Test.csproj b/Test/Test.csproj
index adf21ae..138a10b 100644
--- a/Test/Test.csproj
+++ b/Test/Test.csproj
@@ -6,8 +6,8 @@
latest
false
x64
- Debug R21;Debug R22;Debug R23
- $(Configurations)Release R18;Release R19;Release R20;Release R21;Release R22;Release R23
+ Debug R21;Debug R22;Debug R23;Debug R24;
+ $(Configurations)Release R18;Release R19;Release R20;Release R21;Release R22;Release R23;Release R24
2018
@@ -33,6 +33,10 @@
2023
$(DefineConstants);R23
+
+ 2024
+ $(DefineConstants);R24
+
$(RevitVersion)
true