Skip to content

Commit

Permalink
stop support version from 2014 to 2017 or lower
Browse files Browse the repository at this point in the history
  • Loading branch information
chuongmep committed Nov 12, 2022
1 parent 8ec4a77 commit 85785e9
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 69 deletions.
48 changes: 2 additions & 46 deletions AddInManager.sln
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@ Global
Debug R22|Any CPU = Debug R22|Any CPU
Debug R23|Any CPU = Debug R23|Any CPU
Installer|Any CPU = Installer|Any CPU
Release R14|Any CPU = Release R14|Any CPU
Release R15|Any CPU = Release R15|Any CPU
Release R16|Any CPU = Release R16|Any CPU
Release R17|Any CPU = Release R17|Any CPU
Release R18|Any CPU = Release R18|Any CPU
Release R19|Any CPU = Release R19|Any CPU
Release R20|Any CPU = Release R20|Any CPU
Expand All @@ -37,14 +33,6 @@ Global
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R22|Any CPU.ActiveCfg = Debug R22|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Debug R22|Any CPU.Build.0 = Debug R22|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Installer|Any CPU.ActiveCfg = Release R22|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R14|Any CPU.ActiveCfg = Release R14|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R14|Any CPU.Build.0 = Release R14|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R15|Any CPU.ActiveCfg = Release R15|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R15|Any CPU.Build.0 = Release R15|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R16|Any CPU.ActiveCfg = Release R16|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R16|Any CPU.Build.0 = Release R16|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R17|Any CPU.ActiveCfg = Release R17|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R17|Any CPU.Build.0 = Release R17|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R18|Any CPU.ActiveCfg = Release R18|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R18|Any CPU.Build.0 = Release R18|Any CPU
{C872CDA2-93F5-4681-BD2F-207EACF83D2E}.Release R19|Any CPU.ActiveCfg = Release R19|Any CPU
Expand All @@ -63,10 +51,6 @@ Global
{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
{E3C87D34-638C-47A0-A73A-D967B119458D}.Installer|Any CPU.Build.0 = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R14|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R15|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R16|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R17|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R18|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R19|Any CPU.ActiveCfg = Release|Any CPU
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release R20|Any CPU.ActiveCfg = Release|Any CPU
Expand All @@ -76,42 +60,14 @@ Global
{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
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R14|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R15|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R16|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R17|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R18|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R19|Any CPU.ActiveCfg = Release|Any CPU
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release R20|Any CPU.ActiveCfg = Release|Any CPU
{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
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R22|Any CPU.ActiveCfg = Debug|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R22|Any CPU.Build.0 = Debug|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R23|Any CPU.ActiveCfg = Debug|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug R23|Any CPU.Build.0 = Debug|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Installer|Any CPU.ActiveCfg = Debug|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Installer|Any CPU.Build.0 = Debug|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R14|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R14|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R15|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R15|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R16|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R16|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R17|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R17|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R18|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R18|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R19|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R19|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R20|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R20|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R21|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R21|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R22|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R22|Any CPU.Build.0 = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R23|Any CPU.ActiveCfg = Release|Any CPU
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release R23|Any CPU.Build.0 = Release|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
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
22 changes: 3 additions & 19 deletions AddInManager/RevitAddinManager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<UseWindowsForms>false</UseWindowsForms>
<TargetFramework>net48</TargetFramework>
<Configurations>Debug R22;Debug R23</Configurations>
<Configurations>$(Configurations);Release R14;Release R15;Release R16;Release R17;Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
<Configurations>$(Configurations);Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('Debug'))">
<DebugSymbols>true</DebugSymbols>
Expand All @@ -19,22 +19,6 @@
<DebugType>none</DebugType>
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R14'))">
<RevitVersion>2014</RevitVersion>
<DefineConstants>$(DefineConstants);R14</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R15'))">
<RevitVersion>2015</RevitVersion>
<DefineConstants>$(DefineConstants);R15</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R16'))">
<RevitVersion>2016</RevitVersion>
<DefineConstants>$(DefineConstants);R16</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R17'))">
<RevitVersion>2017</RevitVersion>
<DefineConstants>$(DefineConstants);R17</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R18'))">
<RevitVersion>2018</RevitVersion>
<DefineConstants>$(DefineConstants);R18</DefineConstants>
Expand Down Expand Up @@ -73,8 +57,8 @@
<None Remove="Resources\folder.png" />
</ItemGroup>
<ItemGroup>
<!-- <PackageReference Include="Chuongmep.RevitAPI" Version="1.0.1" />-->
<PackageReference Include="Revit_All_Main_Versions_API_x64" Version="$(RevitVersion).*" />
<PackageReference Include="Chuongmep.Revit.Api.RevitAPI" Version="$(RevitVersion).*" />
<PackageReference Include="Chuongmep.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion Readme.MD
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ The product will be expanded in the future in process to support mutiple platfor

Please follow last release at section [Release](https://github.com/chuongmep/RevitAddInManager/releases/latest)

### Version support : From Revit 2014 to Revit 2023.
### Version support : From Revit 2018 to Revit 2023.

---

Expand Down
39 changes: 36 additions & 3 deletions Test/Test.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,49 @@
<LangVersion>latest</LangVersion>
<IsPackable>false</IsPackable>
<PlatformTarget>x64</PlatformTarget>
<Configurations>Debug R21;Debug R22;Debug R23</Configurations>
<Configurations>$(Configurations)Release R18;Release R19;Release R20;Release R21;Release R22;Release R23</Configurations>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R18'))">
<RevitVersion>2018</RevitVersion>
<DefineConstants>$(DefineConstants);R18</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R19'))">
<RevitVersion>2019</RevitVersion>
<DefineConstants>$(DefineConstants);R19</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R20'))">
<RevitVersion>2020</RevitVersion>
<DefineConstants>$(DefineConstants);R20</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R21'))">
<RevitVersion>2021</RevitVersion>
<DefineConstants>$(DefineConstants);R21</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R22'))">
<RevitVersion>2022</RevitVersion>
<DefineConstants>$(DefineConstants);R22</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="$(Configuration.Contains('R23'))">
<RevitVersion>2023</RevitVersion>
<DefineConstants>$(DefineConstants);R23</DefineConstants>
</PropertyGroup>
<PropertyGroup>
<Version>$(RevitVersion)</Version>
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<Description>A Project Support for developer in revit </Description>
<PublishSingleFile>true</PublishSingleFile>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.11.0" />
<PackageReference Include="MSTest.TestAdapter" Version="2.2.7" />
<PackageReference Include="MSTest.TestFramework" Version="2.2.7" />
<PackageReference Include="coverlet.collector" Version="3.1.0" />
<PackageReference Include="Chuongmep.RevitAPI" Version="1.0.1" />
<PackageReference Include="Chuongmep.Revit.Api.RevitAPI" Version="$(RevitVersion).*" />
<PackageReference Include="Chuongmep.Revit.Api.RevitAPIUI" Version="$(RevitVersion).*" />
</ItemGroup>

<ItemGroup>
<Reference Include="PresentationFramework" />
</ItemGroup>
Expand Down

0 comments on commit 85785e9

Please sign in to comment.