|
1 | | -<?xml version="1.0" encoding="utf-8"?> |
2 | | -<Project ToolsVersion="14.0" DefaultTarget="Build" 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 DefaultTarget="Build" Sdk="Microsoft.NET.Sdk"> |
4 | 2 | <PropertyGroup> |
5 | | - <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> |
6 | | - <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> |
7 | | - <ProjectGuid>{BC0A8EFF-4277-49E9-BBDC-66FFA11E5258}</ProjectGuid> |
| 3 | +<TargetFramework>net472</TargetFramework> |
8 | 4 | <OutputType>Library</OutputType> |
9 | | - <AppDesignerFolder>Properties</AppDesignerFolder> |
10 | 5 | <RootNamespace>BH.Engine.MidasCivil</RootNamespace> |
11 | | - <AssemblyName>MidasCivil_Engine</AssemblyName> |
12 | | - <TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion> |
13 | | - <FileAlignment>512</FileAlignment> |
14 | | - </PropertyGroup> |
15 | | - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> |
16 | | - <DebugSymbols>true</DebugSymbols> |
17 | | - <DebugType>full</DebugType> |
18 | | - <Optimize>false</Optimize> |
19 | | - <OutputPath>..\Build\</OutputPath> |
20 | | - <DefineConstants>DEBUG;TRACE</DefineConstants> |
21 | | - <ErrorReport>prompt</ErrorReport> |
22 | | - <WarningLevel>4</WarningLevel> |
23 | | - </PropertyGroup> |
24 | | - <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> |
25 | | - <DebugType>pdbonly</DebugType> |
26 | | - <Optimize>true</Optimize> |
27 | 6 | <OutputPath>..\Build\</OutputPath> |
28 | | - <DefineConstants>TRACE</DefineConstants> |
29 | | - <ErrorReport>prompt</ErrorReport> |
30 | | - <WarningLevel>4</WarningLevel> |
| 7 | + <AssemblyTitle>MidasCivil_Engine</AssemblyTitle> |
| 8 | + <Description>https://github.com/BHoM/MidasCivil_Toolkit</Description> |
| 9 | + <Product>MidasCivil_Engine</Product> |
| 10 | + <Copyright>Copyright © https://github.com/BHoM</Copyright> |
| 11 | + <AssemblyVersion>9.0.0.0</AssemblyVersion> |
| 12 | + <FileVersion>9.1.0.0</FileVersion> |
31 | 13 | </PropertyGroup> |
| 14 | + <Target Name="PostBuild" AfterTargets="PostBuildEvent"> |
| 15 | + <Exec Command="xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y" /> |
| 16 | + </Target> |
32 | 17 | <ItemGroup> |
33 | 18 | <Reference Include="Adapter_Engine"> |
34 | 19 | <HintPath>$(ProgramData)\BHoM\Assemblies\Adapter_Engine.dll</HintPath> |
|
90 | 75 | <Private>False</Private> |
91 | 76 | <SpecificVersion>False</SpecificVersion> |
92 | 77 | </Reference> |
93 | | - <Reference Include="System" /> |
94 | | - <Reference Include="System.Core" /> |
95 | | - <Reference Include="System.Xml.Linq" /> |
96 | | - <Reference Include="System.Data.DataSetExtensions" /> |
97 | | - <Reference Include="Microsoft.CSharp" /> |
98 | | - <Reference Include="System.Data" /> |
99 | | - <Reference Include="System.Net.Http" /> |
100 | | - <Reference Include="System.Xml" /> |
101 | | - </ItemGroup> |
102 | | - <ItemGroup> |
103 | | - <Compile Include="Convert\Date.cs" /> |
104 | | - <Compile Include="Create\MidasCivilSettings.cs" /> |
105 | | - <Compile Include="Create\Review.cs" /> |
106 | | - <Compile Include="Objects\AdapterIdName.cs" /> |
107 | | - <Compile Include="Objects\ArrayComparer.cs" /> |
108 | | - <Compile Include="Objects\MeshCentreComparer.cs" /> |
109 | | - <Compile Include="Compute\CombineTextFiles.cs" /> |
110 | | - <Compile Include="Create\Metadata.cs" /> |
111 | | - <Compile Include="Properties\AssemblyInfo.cs" /> |
| 78 | + <PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> |
| 79 | + <PackageReference Include="System.Data.DataSetExtensions" Version="4.5.0" /> |
| 80 | + <PackageReference Include="Microsoft.Office.Interop.Excel" Version="16.0.18925.20022" /> |
112 | 81 | </ItemGroup> |
113 | | - <ItemGroup /> |
114 | 82 | <ItemGroup> |
115 | | - <None Include="packages.config" /> |
| 83 | + <ProjectReference Include="..\MidasCivil_oM\MidasCivil_oM.csproj" /> |
116 | 84 | </ItemGroup> |
117 | | - <ItemGroup> |
118 | | - <ProjectReference Include="..\MidasCivil_oM\MidasCivil_oM.csproj"> |
119 | | - <Project>{ec91e4d3-1fce-4547-8482-b78df69f56a8}</Project> |
120 | | - <Name>MidasCivil_oM</Name> |
121 | | - </ProjectReference> |
122 | | - </ItemGroup> |
123 | | - <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" Condition="" /> |
124 | | - <PropertyGroup> |
125 | | - <PostBuildEvent> |
126 | | -xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y |
127 | | - </PostBuildEvent> |
128 | | - </PropertyGroup> |
129 | 85 | </Project> |
0 commit comments