Skip to content

Commit

Permalink
Upgrade XML Toolkit to NetStandard 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Fraser Greenroyd authored and Fraser Greenroyd committed Aug 23, 2023
1 parent 77c2183 commit 390f45b
Show file tree
Hide file tree
Showing 7 changed files with 78 additions and 566 deletions.
62 changes: 0 additions & 62 deletions XML_Adapter/Properties/AssemblyInfo.cs

This file was deleted.

191 changes: 24 additions & 167 deletions XML_Adapter/XML_Adapter.csproj
Original file line number Diff line number Diff line change
@@ -1,35 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{1A7282CF-923C-471B-B9D4-AADE4A0BE364}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>BH.Adapter.XML</RootNamespace>
<AssemblyName>XML_Adapter</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>..\Build\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<Description>https://github.com/BHoM/XML_Toolkit</Description>
<Version>6.0.0</Version>
<Authors>BHoM</Authors>
<Copyright>Copyright © https://github.com/BHoM</Copyright>
<RootNamespace>BH.oM.Adapters.XML</RootNamespace>
<FileVersion>6.3.0.0</FileVersion>
<OutputPath>..\Build\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>

<Target Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Assemblies&quot; /Y" />
</Target>

<ItemGroup>
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\XML_Engine\XML_Engine.csproj" />
<ProjectReference Include="..\XML_oM\XML_oM.csproj" />
</ItemGroup>

<ItemGroup>
<Reference Include="Adapter_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\Adapter_Engine.dll</HintPath>
Expand Down Expand Up @@ -111,148 +105,11 @@
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<Reference Include="System.Runtime.Serialization" />
<Reference Include="System.Xml.Linq" />
<Reference Include="System.Data.DataSetExtensions" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Net.Http" />
<Reference Include="System.Xml" />
<Reference Include="TriangleNet_Engine">
<HintPath>$(ProgramData)\BHoM\Assemblies\TriangleNet_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Include="AdapterActions\Pull.cs" />
<Compile Include="AdapterActions\Push.cs" />
<Compile Include="Convert\Default\ToXML.cs" />
<Compile Include="Convert\GBXML\Architecture\Level.cs" />
<Compile Include="Convert\GBXML\Environment\Building.cs" />
<Compile Include="Convert\GBXML\Environment\Construction.cs" />
<Compile Include="Convert\GBXML\Environment\ElementType.cs" />
<Compile Include="Convert\GBXML\Environment\Material.cs" />
<Compile Include="Convert\GBXML\Environment\Opening.cs" />
<Compile Include="Convert\GBXML\Environment\Panel.cs" />
<Compile Include="Convert\GBXML\Environment\Roughness.cs" />
<Compile Include="Convert\GBXML\Environment\Space.cs" />
<Compile Include="Convert\GBXML\Geometry\Point.cs" />
<Compile Include="Convert\GBXML\Geometry\Polyline.cs" />
<Compile Include="Convert\GBXML\Geometry\SpaceBoundaries.cs" />
<Compile Include="Convert\GBXML\ToGBXML.cs" />
<Compile Include="Convert\KML\AltitudeMode.cs" />
<Compile Include="Convert\KML\Mesh.cs" />
<Compile Include="Convert\KML\Point.cs" />
<Compile Include="Convert\KML\ToKML.cs" />
<Compile Include="Convert\KML\ToLatLon.cs" />
<Compile Include="CRUD\Bluebeam\ReadBluebeam.cs" />
<Compile Include="CRUD\CSProject\CreateCSProject.cs" />
<Compile Include="CRUD\CSProject\ReadCSProject.cs" />
<Compile Include="CRUD\Default\CreateDefault.cs" />
<Compile Include="CRUD\Default\ReadDefault.cs" />
<Compile Include="CRUD\EnergyPlus\ReadEnergyPlus.cs" />
<Compile Include="CRUD\GBXML\CreateGBXML.cs" />
<Compile Include="CRUD\GBXML\ReadGBXML.cs" />
<Compile Include="CRUD\KML\CreateKML.cs" />
<Compile Include="CRUD\Read.cs" />
<Compile Include="Objects\GBXML\Campus\Absorptance.cs" />
<Compile Include="Objects\GBXML\Campus\AdjacentSpaceID.cs" />
<Compile Include="Objects\GBXML\Campus\Building.cs" />
<Compile Include="Objects\GBXML\Campus\BuildingStorey.cs" />
<Compile Include="Objects\GBXML\Campus\Campus.cs" />
<Compile Include="Objects\GBXML\Campus\CartesianPoint.cs" />
<Compile Include="Objects\GBXML\Campus\ClosedShell.cs" />
<Compile Include="Objects\GBXML\Campus\DesignCoolT.cs" />
<Compile Include="Objects\GBXML\Campus\DesignHeatT.cs" />
<Compile Include="Objects\GBXML\Campus\Location.cs" />
<Compile Include="Objects\GBXML\Campus\OAFlowPerArea.cs" />
<Compile Include="Objects\GBXML\Campus\OAFlowPerPerson.cs" />
<Compile Include="Objects\GBXML\Campus\Opening.cs" />
<Compile Include="Objects\GBXML\Campus\PlanarGeometry.cs" />
<Compile Include="Objects\GBXML\Campus\Polyloop.cs" />
<Compile Include="Objects\GBXML\Campus\ProjectEntity.cs" />
<Compile Include="Objects\GBXML\Campus\RectangularGeometry.cs" />
<Compile Include="Objects\GBXML\Campus\RectangularGeometryOpenings.cs" />
<Compile Include="Objects\GBXML\Campus\Roughness.cs" />
<Compile Include="Objects\GBXML\Campus\ShellGeometry.cs" />
<Compile Include="Objects\GBXML\Campus\Space.cs" />
<Compile Include="Objects\GBXML\Campus\SpaceBoundary.cs" />
<Compile Include="Objects\GBXML\Campus\StationID.cs" />
<Compile Include="Objects\GBXML\Campus\Surface.cs" />
<Compile Include="Objects\GBXML\Campus\UValue.cs" />
<Compile Include="Objects\GBXML\Construction\Construction.cs" />
<Compile Include="Objects\GBXML\Construction\LayerID.cs" />
<Compile Include="Objects\GBXML\DocumentHistory\CreatedBy.cs" />
<Compile Include="Objects\GBXML\DocumentHistory\DocumentHistory.cs" />
<Compile Include="Objects\GBXML\DocumentHistory\GUID.cs" />
<Compile Include="Objects\GBXML\DocumentHistory\PersonInfo.cs" />
<Compile Include="Objects\GBXML\DocumentHistory\ProgramInfo.cs" />
<Compile Include="Objects\GBXML\GBXML.cs" />
<Compile Include="Objects\GBXML\Layer\Layer.cs" />
<Compile Include="Objects\GBXML\Layer\MaterialID.cs" />
<Compile Include="Objects\GBXML\Materials\Conductivity.cs" />
<Compile Include="Objects\GBXML\Materials\Density.cs" />
<Compile Include="Objects\GBXML\Materials\Material.cs" />
<Compile Include="Objects\GBXML\Materials\RValue.cs" />
<Compile Include="Objects\GBXML\Materials\SpecificHeat.cs" />
<Compile Include="Objects\GBXML\Window\Emittance.cs" />
<Compile Include="Objects\GBXML\Window\Gap.cs" />
<Compile Include="Objects\GBXML\Window\Glaze.cs" />
<Compile Include="Objects\GBXML\Window\Reflectance.cs" />
<Compile Include="Objects\GBXML\Window\SolarHeatGainCoefficient.cs" />
<Compile Include="Objects\GBXML\Window\Thickness.cs" />
<Compile Include="Objects\GBXML\Window\Transmittance.cs" />
<Compile Include="Objects\GBXML\Window\WindowType.cs" />
<Compile Include="Objects\GBXML\Zone\Zone.cs" />
<Compile Include="Objects\KML\Container\Container.cs" />
<Compile Include="Objects\KML\Container\Document.cs" />
<Compile Include="Objects\KML\Container\Folder.cs" />
<Compile Include="Objects\KML\Enums\AltitudeMode.cs" />
<Compile Include="Objects\KML\Enums\ColourMode.cs" />
<Compile Include="Objects\KML\Geometry\InnerBoundaryIs.cs" />
<Compile Include="Objects\KML\Geometry\LinearRing.cs" />
<Compile Include="Objects\KML\Geometry\MultiGeometry.cs" />
<Compile Include="Objects\KML\Geometry\OuterBoundaryIs.cs" />
<Compile Include="Objects\KML\Geometry\Point.cs" />
<Compile Include="Objects\KML\Geometry\Polygon.cs" />
<Compile Include="Objects\KML\IFeature.cs" />
<Compile Include="Objects\KML\KML.cs" />
<Compile Include="Objects\KML\Container\Placemark.cs" />
<Compile Include="Objects\KML\Style\ColourStyle.cs" />
<Compile Include="Objects\KML\Style\LineStyle.cs" />
<Compile Include="Objects\KML\Style\PolyStyle.cs" />
<Compile Include="Objects\KML\Style\Style.cs" />
<Compile Include="Query\CADObjectID.cs" />
<Compile Include="Query\ConstructionID.cs" />
<Compile Include="XMLAdapter.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\XML_Engine\XML_Engine.csproj">
<Project>{dc706f55-e26d-4463-9ec3-5a9827b24bc6}</Project>
<Name>XML_Engine</Name>
<Private>False</Private>
</ProjectReference>
<ProjectReference Include="..\XML_oM\XML_oM.csproj">
<Project>{43c9dc2f-18c1-48a9-b06f-b89cf188616e}</Project>
<Name>XML_oM</Name>
<Private>False</Private>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>
xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y
</PostBuildEvent>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->

</Project>
62 changes: 0 additions & 62 deletions XML_Engine/Properties/AssemblyInfo.cs

This file was deleted.

Loading

0 comments on commit 390f45b

Please sign in to comment.