Skip to content

Commit f235134

Browse files
committed
Add Navisworks 2026 support to solution and projects #5 #4
Introduces Debug N26 and Release N26 configurations to AddInManager.sln, NavisAddinManager.csproj, and Test.csproj. Updates PackageContents.xml to include components for Navisworks 2026, enabling builds and packaging for the new version.
1 parent c85ba2b commit f235134

File tree

4 files changed

+93
-59
lines changed

4 files changed

+93
-59
lines changed

AddInManager.sln

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@ Global
2222
Debug N23|Any CPU = Debug N23|Any CPU
2323
Debug N24|Any CPU = Debug N24|Any CPU
2424
Debug N25|Any CPU = Debug N25|Any CPU
25+
Debug N26|Any CPU = Debug N26|Any CPU
2526
Installer|Any CPU = Installer|Any CPU
2627
Release N21|Any CPU = Release N21|Any CPU
2728
Release N22|Any CPU = Release N22|Any CPU
2829
Release N23|Any CPU = Release N23|Any CPU
2930
Release N24|Any CPU = Release N24|Any CPU
3031
Release N25|Any CPU = Release N25|Any CPU
32+
Release N26|Any CPU = Release N26|Any CPU
3133
EndGlobalSection
3234
GlobalSection(ProjectConfigurationPlatforms) = postSolution
3335
{E3C87D34-638C-47A0-A73A-D967B119458D}.Debug N23|Any CPU.ActiveCfg = Debug|Any CPU
@@ -40,6 +42,8 @@ Global
4042
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release N23|Any CPU.ActiveCfg = Release|Any CPU
4143
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release N24|Any CPU.ActiveCfg = Release|Any CPU
4244
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release N25|Any CPU.ActiveCfg = Release|Any CPU
45+
{E3C87D34-638C-47A0-A73A-D967B119458D}.Debug N26|Any CPU.ActiveCfg = Debug|Any CPU
46+
{E3C87D34-638C-47A0-A73A-D967B119458D}.Release N26|Any CPU.ActiveCfg = Release|Any CPU
4347
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug N23|Any CPU.ActiveCfg = Debug|Any CPU
4448
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug N24|Any CPU.ActiveCfg = Debug|Any CPU
4549
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug N25|Any CPU.ActiveCfg = Debug|Any CPU
@@ -50,6 +54,8 @@ Global
5054
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release N23|Any CPU.ActiveCfg = Release|Any CPU
5155
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release N24|Any CPU.ActiveCfg = Release|Any CPU
5256
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release N25|Any CPU.ActiveCfg = Release|Any CPU
57+
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Debug N26|Any CPU.ActiveCfg = Debug|Any CPU
58+
{5016ED6D-5A9A-4F59-AE49-CAA9615798F7}.Release N26|Any CPU.ActiveCfg = Debug|Any CPU
5359
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug N23|Any CPU.ActiveCfg = Debug N23|Any CPU
5460
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug N23|Any CPU.Build.0 = Debug N23|Any CPU
5561
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug N24|Any CPU.ActiveCfg = Debug N24|Any CPU
@@ -61,6 +67,8 @@ Global
6167
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N24|Any CPU.ActiveCfg = Release N24|Any CPU
6268
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N25|Any CPU.ActiveCfg = Debug N24|Any CPU
6369
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug N25|Any CPU.ActiveCfg = Release N25|Any CPU
70+
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Debug N26|Any CPU.ActiveCfg = Release N26|Any CPU
71+
{1661572C-EF3A-4DD6-83BD-CB4239CE8CDD}.Release N26|Any CPU.ActiveCfg = Release N26|Any CPU
6472
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N23|Any CPU.ActiveCfg = Debug N23|Any CPU
6573
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N23|Any CPU.Build.0 = Debug N23|Any CPU
6674
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N24|Any CPU.ActiveCfg = Debug N24|Any CPU
@@ -78,6 +86,10 @@ Global
7886
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Release N24|Any CPU.Build.0 = Release N24|Any CPU
7987
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Release N25|Any CPU.ActiveCfg = Release N25|Any CPU
8088
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Release N25|Any CPU.Build.0 = Release N25|Any CPU
89+
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N26|Any CPU.ActiveCfg = Debug N26|Any CPU
90+
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Debug N26|Any CPU.Build.0 = Debug N26|Any CPU
91+
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Release N26|Any CPU.ActiveCfg = Release N26|Any CPU
92+
{002AA75A-806D-4F10-B564-C92A7A221FFB}.Release N26|Any CPU.Build.0 = Release N26|Any CPU
8193
EndGlobalSection
8294
GlobalSection(SolutionProperties) = preSolution
8395
HideSolutionNode = FALSE

NavisAddinManager/NavisAddinManager.csproj

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<ImplicitUsings>true</ImplicitUsings>
77
<UseWindowsForms>true</UseWindowsForms>
88
<TargetFramework>net48</TargetFramework>
9-
<Configurations>Debug N22;Debug N23;Debug N24;Debug N25</Configurations>
10-
<Configurations>$(Configurations);Release N21;Release N22;Release N23;Release N24;Release N25</Configurations>
9+
<Configurations>Debug N22;Debug N23;Debug N24;Debug N25;Debug N26</Configurations>
10+
<Configurations>$(Configurations);Release N21;Release N22;Release N23;Release N24;Release N25;Release N26</Configurations>
1111
<RootNamespace>NavisAddinManager</RootNamespace>
1212
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
1313
</PropertyGroup>
@@ -42,6 +42,12 @@
4242
<DefineConstants>$(DefineConstants);N25</DefineConstants>
4343
</PropertyGroup>
4444
<PropertyGroup>
45+
</PropertyGroup>
46+
<PropertyGroup Condition="$(Configuration.Contains('N26'))">
47+
<NavisVersion>2026</NavisVersion>
48+
<DefineConstants>$(DefineConstants);N26</DefineConstants>
49+
</PropertyGroup>
50+
<PropertyGroup>
4551
<Version>$(NavisVersion)</Version>
4652
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
4753
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>

NavisAddinManager/PackageContents.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@
2424
<RuntimeRequirements OS="Win64" Platform="NAVMAN|NAVSIM" SeriesMin="Nw22" SeriesMax="Nw22" />
2525
<ComponentEntry AppName="AddinManager" AppType="ManagedPlugin" ModuleName="./Contents/2025/NavisAddinManager.dll" />
2626
</Components>
27+
<Components Description="Navisworks 2026 parts">
28+
<RuntimeRequirements OS="Win64" Platform="NAVMAN|NAVSIM" SeriesMin="Nw23" SeriesMax="Nw23" />
29+
<ComponentEntry AppName="AddinManager" AppType="ManagedPlugin" ModuleName="./Contents/2026/NavisAddinManager.dll" />
30+
</Components>
2731
</ApplicationPackage>

Test/Test.csproj

Lines changed: 69 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,73 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFramework>net48</TargetFramework>
5-
<Nullable>disable</Nullable>
6-
<LangVersion>latest</LangVersion>
7-
<IsPackable>false</IsPackable>
8-
<PlatformTarget>x64</PlatformTarget>
9-
<UseWindowsForms>true</UseWindowsForms>
10-
<UseWpf>true</UseWpf>
11-
<Configurations>Debug N22;Debug N23;Debug N24;</Configurations>
12-
<Configurations>$(Configurations);Release N21;Release N22;Release N23;Release N24;Release N25</Configurations>
13-
</PropertyGroup>
14-
<PropertyGroup Condition="$(Configuration.Contains('N21'))">
15-
<NavisVersion>2021</NavisVersion>
16-
<DefineConstants>$(DefineConstants);N21</DefineConstants>
17-
</PropertyGroup>
18-
<PropertyGroup Condition="$(Configuration.Contains('N22'))">
19-
<NavisVersion>2022</NavisVersion>
20-
<DefineConstants>$(DefineConstants);N22</DefineConstants>
21-
</PropertyGroup>
22-
<PropertyGroup Condition="$(Configuration.Contains('N23'))">
23-
<NavisVersion>2023</NavisVersion>
24-
<DefineConstants>$(DefineConstants);N23</DefineConstants>
25-
</PropertyGroup>
26-
<PropertyGroup Condition="$(Configuration.Contains('N24'))">
27-
<NavisVersion>2024</NavisVersion>
28-
<DefineConstants>$(DefineConstants);N24</DefineConstants>
29-
</PropertyGroup>
30-
<PropertyGroup Condition="$(Configuration.Contains('N25'))">
31-
<NavisVersion>2025</NavisVersion>
32-
<DefineConstants>$(DefineConstants);N25</DefineConstants>
33-
</PropertyGroup>
34-
<PropertyGroup>
35-
<Version>$(NavisVersion)</Version>
36-
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
37-
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
38-
<Description>A Project Support for developer in Navisworks </Description>
39-
<PublishSingleFile>true</PublishSingleFile>
40-
</PropertyGroup>
41-
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N22' ">
42-
<DebugSymbols>true</DebugSymbols>
43-
<DebugType>full</DebugType>
44-
</PropertyGroup>
45-
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N23' ">
46-
<DebugSymbols>true</DebugSymbols>
47-
<DebugType>full</DebugType>
48-
</PropertyGroup>
49-
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N24' ">
50-
<DebugSymbols>true</DebugSymbols>
51-
<DebugType>full</DebugType>
52-
</PropertyGroup>
53-
<ItemGroup>
54-
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.ComApi" Version="$(NavisVersion).*" />
55-
<!-- <PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Interop.ComApi" Version="$(NavisVersion).*" />-->
56-
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Api" Version="$(NavisVersion).*" />
57-
<!-- <PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Controls" Version="$(NavisVersion).*" />-->
58-
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Clash" Version="$(NavisVersion).*" />
59-
</ItemGroup>
3+
<PropertyGroup>
4+
<TargetFramework>net48</TargetFramework>
5+
<Nullable>disable</Nullable>
6+
<LangVersion>latest</LangVersion>
7+
<IsPackable>false</IsPackable>
8+
<PlatformTarget>x64</PlatformTarget>
9+
<UseWindowsForms>true</UseWindowsForms>
10+
<UseWpf>true</UseWpf>
11+
<Configurations>Debug N22;Debug N23;Debug N24;</Configurations>
12+
<Configurations>$(Configurations);Release N21;Release N22;Release N23;Release N24;Release N25;Release N26</Configurations>
13+
</PropertyGroup>
14+
<PropertyGroup Condition="$(Configuration.Contains('N21'))">
15+
<NavisVersion>2021</NavisVersion>
16+
<DefineConstants>$(DefineConstants);N21</DefineConstants>
17+
</PropertyGroup>
18+
<PropertyGroup Condition="$(Configuration.Contains('N22'))">
19+
<NavisVersion>2022</NavisVersion>
20+
<DefineConstants>$(DefineConstants);N22</DefineConstants>
21+
</PropertyGroup>
22+
<PropertyGroup Condition="$(Configuration.Contains('N23'))">
23+
<NavisVersion>2023</NavisVersion>
24+
<DefineConstants>$(DefineConstants);N23</DefineConstants>
25+
</PropertyGroup>
26+
<PropertyGroup Condition="$(Configuration.Contains('N24'))">
27+
<NavisVersion>2024</NavisVersion>
28+
<DefineConstants>$(DefineConstants);N24</DefineConstants>
29+
</PropertyGroup>
30+
<PropertyGroup Condition="$(Configuration.Contains('N25'))">
31+
<NavisVersion>2025</NavisVersion>
32+
<DefineConstants>$(DefineConstants);N25</DefineConstants>
33+
</PropertyGroup>
34+
<PropertyGroup Condition="$(Configuration.Contains('N25'))">
35+
<NavisVersion>2025</NavisVersion>
36+
<DefineConstants>$(DefineConstants);N26</DefineConstants>
37+
</PropertyGroup>
38+
<PropertyGroup>
39+
<Version>$(NavisVersion)</Version>
40+
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
41+
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
42+
<Description>A Project Support for developer in Navisworks</Description>
43+
<PublishSingleFile>true</PublishSingleFile>
44+
</PropertyGroup>
45+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N22' ">
46+
<DebugSymbols>true</DebugSymbols>
47+
<DebugType>full</DebugType>
48+
</PropertyGroup>
49+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N23' ">
50+
<DebugSymbols>true</DebugSymbols>
51+
<DebugType>full</DebugType>
52+
</PropertyGroup>
53+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N24' ">
54+
<DebugSymbols>true</DebugSymbols>
55+
<DebugType>full</DebugType>
56+
</PropertyGroup>
57+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N25' ">
58+
<DebugSymbols>true</DebugSymbols>
59+
<DebugType>full</DebugType>
60+
</PropertyGroup>
61+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug N26' ">
62+
<DebugSymbols>true</DebugSymbols>
63+
<DebugType>full</DebugType>
64+
</PropertyGroup>
65+
<ItemGroup>
66+
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.ComApi" Version="$(NavisVersion).*"/>
67+
<!-- <PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Interop.ComApi" Version="$(NavisVersion).*" />-->
68+
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Api" Version="$(NavisVersion).*"/>
69+
<!-- <PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Controls" Version="$(NavisVersion).*" />-->
70+
<PackageReference Include="Chuongmep.Navis.Api.Autodesk.Navisworks.Clash" Version="$(NavisVersion).*"/>
71+
</ItemGroup>
6072

6173
</Project>

0 commit comments

Comments
 (0)