Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to .NetStandard2.0 #312

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
115 changes: 19 additions & 96 deletions LifeCycleAssessment_Engine/LifeCycleAssessment_Engine.csproj
Original file line number Diff line number Diff line change
@@ -1,34 +1,14 @@
<?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>{75BC936E-7B41-453E-A219-C0817EB35676}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<TargetFramework>netstandard2.0</TargetFramework>
<Description>https://github.com/BHoM/LifeCycleAssessment_Toolkit</Description>
<FileVersion>6.1.0.0</FileVersion>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<RootNamespace>BH.Engine.LifeCycleAssessment</RootNamespace>
<AssemblyName>LifeCycleAssessment_Engine</AssemblyName>
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
</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>
<OutputPath>..\Build\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<BaseOutputPath>..\Build\</BaseOutputPath>
</PropertyGroup>

<ItemGroup>
<Reference Include="Analytical_oM">
<HintPath>C:\ProgramData\BHoM\Assemblies\Analytical_oM.dll</HintPath>
Expand All @@ -41,14 +21,14 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="BHoM_Engine">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\ProgramData\BHoM\Assemblies\BHoM_Engine.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Dimensional_oM">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\ProgramData\BHoM\Assemblies\Dimensional_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Environment_oM">
<HintPath>C:\ProgramData\BHoM\Assemblies\Environment_oM.dll</HintPath>
Expand All @@ -66,9 +46,9 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="LifeCycleAssessment_oM">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\ProgramData\BHoM\Assemblies\LifeCycleAssessment_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Matter_Engine">
<HintPath>C:\ProgramData\BHoM\Assemblies\Matter_Engine.dll</HintPath>
Expand All @@ -86,14 +66,14 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Physical_oM">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\ProgramData\BHoM\Assemblies\Physical_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Quantities_oM">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\ProgramData\BHoM\Assemblies\Quantities_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Spatial_Engine">
<HintPath>C:\ProgramData\BHoM\Assemblies\Spatial_Engine.dll</HintPath>
Expand All @@ -106,71 +86,14 @@
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="Structure_oM">
<SpecificVersion>False</SpecificVersion>
<HintPath>C:\ProgramData\BHoM\Assemblies\Structure_oM.dll</HintPath>
<Private>False</Private>
<SpecificVersion>False</SpecificVersion>
</Reference>
<Reference Include="System" />
<Reference Include="System.Core" />
<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" />
</ItemGroup>
<ItemGroup>
<Compile Include="Compute\BenchmarkVariance.cs" />
<Compile Include="Compute\EvaluateProjectLifeCycleAssessment.cs" />
<Compile Include="Compute\EvaluateEnvironmentalProductDeclarationByLength.cs" />
<Compile Include="Compute\EvaluateEnvironmentalProductDeclarationByArea.cs" />
<Compile Include="Compute\EvaluateEnvironmentalProductDeclarationByVolume.cs" />
<Compile Include="Compute\EvaluateEnvironmentalProductDeclarationByMass.cs" />
<Compile Include="Compute\EvaluateReferenceValue.cs" />
<Compile Include="Objects\HelperMethods.cs" />
<Compile Include="Compute\ElementEmbodiedCarbon.cs" />
<Compile Include="Compute\EvaluateElement.cs" />
<Compile Include="Compute\EvaluateMaterialTakeoff.cs" />
<Compile Include="Query\GetElementEnvironmentalMetric.cs" />
<Compile Include="Query\GetElementScope.cs" />
<Compile Include="Query\GetElementMaterial.cs" />
<Compile Include="Query\GetElementEpd.cs" />
<Compile Include="Query\GetEnvironmentalMetricValue.cs" />
<Compile Include="Query\GetEnvironmentalMetric.cs" />
<Compile Include="Query\GetEPDPhases.cs" />
<Compile Include="Query\GetQuantityType.cs" />
<Compile Include="Query\GetQuantityTypeValue.cs" />
<Compile Include="Query\TotalMaterialBreakdown.cs" />
<Compile Include="Query\MaterialEndOfLifeTreatment.cs" />
<Compile Include="Compute\ReinforcementVolume.cs" />
<Compile Include="Compute\GlazingVolume.cs" />
<Compile Include="Compute\ConcreteVolume.cs" />
<Compile Include="Compute\EvaluateEnvironmentalProductDeclaration.cs" />
<Compile Include="Convert\ToBuildingBenchmarkingData.cs" />
<Compile Include="Convert\ToHealthProductDeclarationData.cs" />
<Compile Include="Create\LifeCycleAssessmentScope.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Query\GetEPDDensity.cs" />
<Compile Include="Query\GetEPDQuantityType.cs" />
<Compile Include="Query\GetEvaluationValue.cs" />
<Compile Include="Query\TotalFieldQuantity.cs" />
</ItemGroup>
<ItemGroup>
<Folder Include="Modify\" />
</ItemGroup>
<ItemGroup>
<None Include="Versioning_51.json" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup>
<PostBuildEvent>xcopy "$(TargetDir)$(TargetFileName)" "C:\ProgramData\BHoM\Assemblies" /Y
xcopy "$(SolutionDir)DataSets\*.*" "C:\ProgramData\BHoM\DataSets" /Y /I /E</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 Name="PostBuild" AfterTargets="PostBuildEvent">
<Exec Command="xcopy &quot;$(TargetDir)$(TargetFileName)&quot; &quot;C:\ProgramData\BHoM\Assemblies&quot; /Y&#xD;&#xA;xcopy &quot;$(SolutionDir)DataSets\*.*&quot; &quot;C:\ProgramData\BHoM\DataSets&quot; /Y /I /E" />
</Target>
-->
</Project>

</Project>
61 changes: 0 additions & 61 deletions LifeCycleAssessment_Engine/Properties/AssemblyInfo.cs

This file was deleted.