|
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 | + |
4 | 3 | <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> |
10 | 10 | <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> |
15 | 12 | </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'"> |
20 | 15 | <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> |
32 | 16 | </PropertyGroup> |
| 17 | + |
| 18 | + <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
| 19 | + <Exec Command="xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /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 | + |
33 | 27 | <ItemGroup> |
34 | 28 | <Reference Include="Adapter_oM"> |
35 | 29 | <HintPath>C:\ProgramData\BHoM\Assemblies\Adapter_oM.dll</HintPath> |
|
65 | 59 | <Reference Include="System.Net.Http" /> |
66 | 60 | <Reference Include="System.Xml" /> |
67 | 61 | </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 | + |
91 | 63 | </Project> |
0 commit comments