CIHDigitalConfigurator / CIH_Toolkit

CIH_Toolkit
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Cannot compile due to missing ISpecification #36

Closed MTC-RM closed 2 years ago

MTC-RM commented 2 years ago

Hi we have been trying to compile the CIH Toolkit to look at how we might integrate our own tool and have been having some issues.

Steps:

  1. Fresh install of BHoM_v4.1.beta.0 (also tried 4.0, 4.1.beta.1, 5.0)
  2. Clone master branch of CIH toolkit
  3. Build solution in Visual Studio 2022, with target framework .NET 4.5.2. Build fails (referenced components System.ValueTuple, Dimensional_oM, Data_oM could not be found)
  4. Installed system package ValueTuple2
  5. Edited CIH_Engine.csproj and CIH_oM.csproj to remove version requirements and add hint paths so all references resolve

Still have the following compilation errors: Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Results\SpecificationResult.cs 50 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\LogicalSpecification.cs 36 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\LogicalSpecification.cs 38 Active Error CS0115 'LogicalSpecification.ToString()': no suitable method found to override CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\LogicalSpecification.cs 44 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\LogicalSpecification.cs 38 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\SpatialSpecification.cs 36 Active Error CS0115 'SpatialSpecification.ToString()': no suitable method found to override CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\SpatialSpecification.cs 46 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\Specification.cs 31 Active Error CS0115 'Specification.ToString()': no suitable method found to override CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Specifications\Specification.cs 43 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Results\SpecificationResult.cs 34 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Results\SpecificationResult.cs 50 Active Error CS0246 The type or namespace name 'ISpecification' could not be found (are you missing a using directive or an assembly reference?) CIH_oM C:\Temp\CIH\CIH_Toolkit\CIH_oM\Results\SpecificationResult.cs 64 Active

Presumably we have a different version of the BHoM dlls?