From 3885c1c07d3971d9e65a0824c5e4204d1295a189 Mon Sep 17 00:00:00 2001 From: BHoMBot Date: Fri, 20 Sep 2024 13:25:37 +0200 Subject: [PATCH 1/3] Update assembly file version to 8.0.0.0 and AssemblyVersion to 8.0.0.0 --- .ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj | 3 ++- Robot_Adapter/Properties/AssemblyInfo.cs | 4 ++-- Robot_Engine/Properties/AssemblyInfo.cs | 4 ++-- Robot_oM/Properties/AssemblyInfo.cs | 4 ++-- 4 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj b/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj index 32a67fcc..e7749109 100644 --- a/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj +++ b/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj @@ -1,7 +1,8 @@ - + net6.0 +https://github.com/BHoM/Robot_Toolkit enable enable diff --git a/Robot_Adapter/Properties/AssemblyInfo.cs b/Robot_Adapter/Properties/AssemblyInfo.cs index ea065410..5080021b 100644 --- a/Robot_Adapter/Properties/AssemblyInfo.cs +++ b/Robot_Adapter/Properties/AssemblyInfo.cs @@ -53,8 +53,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("7.0.0.0")] -[assembly: AssemblyFileVersion("7.3.0.0")] +[assembly: AssemblyVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.0.0.0")] diff --git a/Robot_Engine/Properties/AssemblyInfo.cs b/Robot_Engine/Properties/AssemblyInfo.cs index 2e8689f3..da219b96 100644 --- a/Robot_Engine/Properties/AssemblyInfo.cs +++ b/Robot_Engine/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("7.0.0.0")] -[assembly: AssemblyFileVersion("7.3.0.0")] +[assembly: AssemblyVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.0.0.0")] diff --git a/Robot_oM/Properties/AssemblyInfo.cs b/Robot_oM/Properties/AssemblyInfo.cs index fc7ebb18..3c17e85c 100644 --- a/Robot_oM/Properties/AssemblyInfo.cs +++ b/Robot_oM/Properties/AssemblyInfo.cs @@ -54,8 +54,8 @@ // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("7.0.0.0")] -[assembly: AssemblyFileVersion("7.3.0.0")] +[assembly: AssemblyVersion("8.0.0.0")] +[assembly: AssemblyFileVersion("8.0.0.0")] From a66167284eaf6d04f4d093114c7893a5f67b7a6b Mon Sep 17 00:00:00 2001 From: IsakNaslundBh Date: Mon, 23 Sep 2024 13:40:33 +0200 Subject: [PATCH 2/3] Fix compliance and build issues --- .../Robot_Adapter_Tests/PushTests.cs | 6 ++-- .../Robot_Adapter_Tests.csproj | 34 +++++++++---------- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/.ci/unit-tests/Robot_Adapter_Tests/PushTests.cs b/.ci/unit-tests/Robot_Adapter_Tests/PushTests.cs index 9f0830dd..5349be8c 100644 --- a/.ci/unit-tests/Robot_Adapter_Tests/PushTests.cs +++ b/.ci/unit-tests/Robot_Adapter_Tests/PushTests.cs @@ -170,7 +170,7 @@ public void PushBarsWithDifferentTags() for (int i = 0; i < count; i++) { Bar bar = Engine.Base.Create.RandomObject(typeof(Bar), i + count) as Bar; - bar.StartNode = bars1[i].StartNode; //Same start node for bars from both sets + bar.Start = bars1[i].Start; //Same start node for bars from both sets bars2.Add(bar); } @@ -189,8 +189,8 @@ public void PushBarsWithDifferentTags() foreach (Bar bar in pulledBars) { bar.Tags.Count.ShouldBe(1, "Bar should contain 1 tag."); - bar.StartNode.Tags.Count.ShouldBe(2, "StartNode of bars should contain 2 tags."); - bar.EndNode.Tags.Count.ShouldBe(1, "EndNode of bars should contain 1 tag."); + bar.Start.Tags.Count.ShouldBe(2, "StartNode of bars should contain 2 tags."); + bar.End.Tags.Count.ShouldBe(1, "EndNode of bars should contain 1 tag."); } //Create a new set to replace the first set of bars diff --git a/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj b/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj index e7749109..12057b45 100644 --- a/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj +++ b/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj @@ -28,67 +28,67 @@ - C:\ProgramData\BHoM\Assemblies\Adapter_oM.dll + $(ProgramData)\BHoM\Assemblies\Adapter_oM.dll false - C:\ProgramData\BHoM\Assemblies\Analytical_Engine.dll + $(ProgramData)\BHoM\Assemblies\Analytical_Engine.dll false - C:\ProgramData\BHoM\Assemblies\Analytical_oM.dll + $(ProgramData)\BHoM\Assemblies\Analytical_oM.dll false - C:\ProgramData\BHoM\Assemblies\BHoM.dll - false + $(ProgramData)\BHoM\Assemblies\BHoM.dll + False - C:\ProgramData\BHoM\Assemblies\BHoM_Adapter.dll + $(ProgramData)\BHoM\Assemblies\BHoM_Adapter.dll false - C:\ProgramData\BHoM\Assemblies\BHoM_Engine.dll + $(ProgramData)\BHoM\Assemblies\BHoM_Engine.dll false - C:\ProgramData\BHoM\Assemblies\Data_oM.dll + $(ProgramData)\BHoM\Assemblies\Data_oM.dll false - C:\ProgramData\BHoM\Assemblies\Dimensional_oM.dll + $(ProgramData)\BHoM\Assemblies\Dimensional_oM.dll false - C:\ProgramData\BHoM\Assemblies\Geometry_Engine.dll + $(ProgramData)\BHoM\Assemblies\Geometry_Engine.dll false - C:\ProgramData\BHoM\Assemblies\Geometry_oM.dll + $(ProgramData)\BHoM\Assemblies\Geometry_oM.dll false - C:\ProgramData\BHoM\Assemblies\Physical_oM.dll + $(ProgramData)\BHoM\Assemblies\Physical_oM.dll false - C:\ProgramData\BHoM\Assemblies\Spatial_Engine.dll + $(ProgramData)\BHoM\Assemblies\Spatial_Engine.dll false - C:\ProgramData\BHoM\Assemblies\Spatial_oM.dll + $(ProgramData)\BHoM\Assemblies\Spatial_oM.dll false - C:\ProgramData\BHoM\Assemblies\Structure_AdapterModules.dll + $(ProgramData)\BHoM\Assemblies\Structure_AdapterModules.dll false - C:\ProgramData\BHoM\Assemblies\Structure_Engine.dll + $(ProgramData)\BHoM\Assemblies\Structure_Engine.dll false - C:\ProgramData\BHoM\Assemblies\Structure_oM.dll + $(ProgramData)\BHoM\Assemblies\Structure_oM.dll false From a8501ef1fe97da21bba6dbadd3b7d3319b439183 Mon Sep 17 00:00:00 2001 From: IsakNaslundBh Date: Mon, 23 Sep 2024 13:55:21 +0200 Subject: [PATCH 3/3] Set assembly file versions for test project --- .ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj b/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj index 12057b45..cd1641e8 100644 --- a/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj +++ b/.ci/unit-tests/Robot_Adapter_Tests/Robot_Adapter_Tests.csproj @@ -2,7 +2,9 @@ net6.0 -https://github.com/BHoM/Robot_Toolkit + https://github.com/BHoM/Robot_Toolkit + 8.0.0.0 + 8.0.0.0 enable enable