Skip to content

Commit 567a842

Browse files
author
Fraser Greenroyd
committed
Initially upgrading CSProject formats
1 parent 1187c3e commit 567a842

6 files changed

Lines changed: 61 additions & 316 deletions

File tree

SQL_Adapter/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

SQL_Adapter/SQL_Adapter.csproj

Lines changed: 22 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,29 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTarget="" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{4D861E16-CEEC-4953-8F6A-1708D8167329}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
4+
<TargetFramework>net472</TargetFramework>
5+
<AssemblyVersion>6.0.0.0</AssemblyVersion>
6+
<Description>https://github.com/BHoM/SQL_Toolkit</Description>
7+
<Version>5.0.0</Version>
8+
<Authors>BHoM</Authors>
9+
<Copyright>Copyright © https://github.com/BHoM</Copyright>
1010
<RootNamespace>BH.Adapter.SQL</RootNamespace>
11-
<AssemblyName>SQL_Adapter</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<TargetFrameworkProfile />
11+
<FileVersion>6.1.0.0</FileVersion>
1512
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
13+
14+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
2015
<OutputPath>..\Build\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>..\Build\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
3216
</PropertyGroup>
17+
18+
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
19+
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Assemblies&quot; /Y" />
20+
</Target>
21+
22+
<ItemGroup>
23+
<ProjectReference Include="..\SQL_Engine\SQL_Engine.csproj" />
24+
<ProjectReference Include="..\SQL_oM\SQL_oM.csproj" />
25+
</ItemGroup>
26+
3327
<ItemGroup>
3428
<Reference Include="Adapter_oM">
3529
<HintPath>C:\ProgramData\BHoM\Assemblies\Adapter_oM.dll</HintPath>
@@ -65,27 +59,5 @@
6559
<Reference Include="System.Net.Http" />
6660
<Reference Include="System.Xml" />
6761
</ItemGroup>
68-
<ItemGroup>
69-
<Compile Include="AdapterActions\Execute.cs" />
70-
<Compile Include="AdapterActions\Pull.cs" />
71-
<Compile Include="AdapterActions\Push.cs" />
72-
<Compile Include="AdapterActions\Remove.cs" />
73-
<Compile Include="Convert\ToDictionary.cs" />
74-
<Compile Include="SqlAdapter.cs" />
75-
<Compile Include="Properties\AssemblyInfo.cs" />
76-
</ItemGroup>
77-
<ItemGroup>
78-
<ProjectReference Include="..\SQL_Engine\SQL_Engine.csproj">
79-
<Project>{089e0c4a-e022-4dae-868d-b46f0de06074}</Project>
80-
<Name>SQL_Engine</Name>
81-
</ProjectReference>
82-
<ProjectReference Include="..\SQL_oM\SQL_oM.csproj">
83-
<Project>{0a6a3dbf-220b-4c64-8ce5-3e0ddc479404}</Project>
84-
<Name>SQL_oM</Name>
85-
</ProjectReference>
86-
</ItemGroup>
87-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition="" />
88-
<PropertyGroup>
89-
<PostBuildEvent>xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y</PostBuildEvent>
90-
</PropertyGroup>
62+
9163
</Project>

SQL_Engine/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

SQL_Engine/SQL_Engine.csproj

Lines changed: 21 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,28 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="15.0" DefaultTarget="" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
43
<PropertyGroup>
5-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7-
<ProjectGuid>{089E0C4A-E022-4DAE-868D-B46F0DE06074}</ProjectGuid>
8-
<OutputType>Library</OutputType>
9-
<AppDesignerFolder>Properties</AppDesignerFolder>
4+
<TargetFramework>net472</TargetFramework>
5+
<AssemblyVersion>6.0.0.0</AssemblyVersion>
6+
<Description>https://github.com/BHoM/SQL_Toolkit</Description>
7+
<Version>5.0.0</Version>
8+
<Authors>BHoM</Authors>
9+
<Copyright>Copyright © https://github.com/BHoM</Copyright>
1010
<RootNamespace>BH.Engine.SQL</RootNamespace>
11-
<AssemblyName>SQL_Engine</AssemblyName>
12-
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
13-
<FileAlignment>512</FileAlignment>
14-
<TargetFrameworkProfile />
11+
<FileVersion>6.1.0.0</FileVersion>
1512
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
13+
14+
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
2015
<OutputPath>..\Build\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>..\Build\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
3216
</PropertyGroup>
17+
18+
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
19+
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Assemblies&quot; /Y" />
20+
</Target>
21+
22+
<ItemGroup>
23+
<ProjectReference Include="..\SQL_oM\SQL_oM.csproj" />
24+
</ItemGroup>
25+
3326
<ItemGroup>
3427
<Reference Include="Adapter_oM">
3528
<SpecificVersion>False</SpecificVersion>
@@ -60,21 +53,5 @@
6053
<Reference Include="System.Net.Http" />
6154
<Reference Include="System.Xml" />
6255
</ItemGroup>
63-
<ItemGroup>
64-
<Compile Include="Compute\NewTableCommand.cs" />
65-
<Compile Include="Convert\ToSqlTypeString.cs" />
66-
<Compile Include="Convert\ToSqlCommand.cs" />
67-
<Compile Include="Convert\FromDictionary.cs" />
68-
<Compile Include="Properties\AssemblyInfo.cs" />
69-
</ItemGroup>
70-
<ItemGroup>
71-
<ProjectReference Include="..\SQL_oM\SQL_oM.csproj">
72-
<Project>{0a6a3dbf-220b-4c64-8ce5-3e0ddc479404}</Project>
73-
<Name>SQL_oM</Name>
74-
</ProjectReference>
75-
</ItemGroup>
76-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition="" />
77-
<PropertyGroup>
78-
<PostBuildEvent>xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y</PostBuildEvent>
79-
</PropertyGroup>
56+
8057
</Project>

SQL_oM/Properties/AssemblyInfo.cs

Lines changed: 0 additions & 60 deletions
This file was deleted.

0 commit comments

Comments
 (0)