|
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> |
10 |
| - <RootNamespace>BH.Adapter.SQL</RootNamespace> |
11 |
| - <AssemblyName>SQL_Adapter</AssemblyName> |
12 |
| - <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> |
13 |
| - <FileAlignment>512</FileAlignment> |
14 |
| - <TargetFrameworkProfile /> |
15 |
| - </PropertyGroup> |
16 |
| - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
17 |
| - <DebugSymbols>true</DebugSymbols> |
18 |
| - <DebugType>full</DebugType> |
19 |
| - <Optimize>false</Optimize> |
20 |
| - <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> |
| 4 | + <TargetFramework>netstandard2.0</TargetFramework> |
| 5 | + <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies> |
32 | 6 | </PropertyGroup>
|
| 7 | + |
| 8 | + <ItemGroup> |
| 9 | + <PackageReference Include="System.Data.SqlClient" Version="4.8.5" /> |
| 10 | + </ItemGroup> |
| 11 | + |
| 12 | + <ItemGroup> |
| 13 | + <ProjectReference Include="..\SQL_Engine\SQL_Engine.csproj" /> |
| 14 | + <ProjectReference Include="..\SQL_oM\SQL_oM.csproj" /> |
| 15 | + </ItemGroup> |
| 16 | + |
33 | 17 | <ItemGroup>
|
34 | 18 | <Reference Include="Adapter_oM">
|
35 |
| - <HintPath>C:\ProgramData\BHoM\Assemblies\Adapter_oM.dll</HintPath> |
36 |
| - <Private>False</Private> |
37 |
| - <SpecificVersion>False</SpecificVersion> |
| 19 | + <HintPath>..\..\..\..\..\..\..\ProgramData\BHoM\Assemblies\Adapter_oM.dll</HintPath> |
38 | 20 | </Reference>
|
39 | 21 | <Reference Include="BHoM">
|
40 |
| - <HintPath>C:\ProgramData\BHoM\Assemblies\BHoM.dll</HintPath> |
41 |
| - <Private>False</Private> |
42 |
| - <SpecificVersion>False</SpecificVersion> |
| 22 | + <HintPath>..\..\..\..\..\..\..\ProgramData\BHoM\Assemblies\BHoM.dll</HintPath> |
43 | 23 | </Reference>
|
44 | 24 | <Reference Include="BHoM_Adapter">
|
45 |
| - <HintPath>C:\ProgramData\BHoM\Assemblies\BHoM_Adapter.dll</HintPath> |
46 |
| - <Private>False</Private> |
47 |
| - <SpecificVersion>False</SpecificVersion> |
| 25 | + <HintPath>..\..\..\..\..\..\..\ProgramData\BHoM\Assemblies\BHoM_Adapter.dll</HintPath> |
48 | 26 | </Reference>
|
49 | 27 | <Reference Include="BHoM_Engine">
|
50 |
| - <HintPath>C:\ProgramData\BHoM\Assemblies\BHoM_Engine.dll</HintPath> |
51 |
| - <Private>False</Private> |
52 |
| - <SpecificVersion>False</SpecificVersion> |
| 28 | + <HintPath>..\..\..\..\..\..\..\ProgramData\BHoM\Assemblies\BHoM_Engine.dll</HintPath> |
53 | 29 | </Reference>
|
54 | 30 | <Reference Include="Data_oM">
|
55 |
| - <HintPath>C:\ProgramData\BHoM\Assemblies\Data_oM.dll</HintPath> |
56 |
| - <Private>False</Private> |
57 |
| - <SpecificVersion>False</SpecificVersion> |
| 31 | + <HintPath>..\..\..\..\..\..\..\ProgramData\BHoM\Assemblies\Data_oM.dll</HintPath> |
58 | 32 | </Reference>
|
59 |
| - <Reference Include="System" /> |
60 |
| - <Reference Include="System.Core" /> |
61 |
| - <Reference Include="System.Xml.Linq" /> |
62 |
| - <Reference Include="System.Data.DataSetExtensions" /> |
63 |
| - <Reference Include="Microsoft.CSharp" /> |
64 |
| - <Reference Include="System.Data" /> |
65 |
| - <Reference Include="System.Net.Http" /> |
66 |
| - <Reference Include="System.Xml" /> |
67 | 33 | </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> |
| 34 | + |
91 | 35 | </Project>
|
0 commit comments