fe74d037c6
* Updates NodaTime to version 3.0.5
* Updates code to ensure compatibility with new NodaTime version
* Updates System.Runtime.CompilerServices.Unsafe to 5.0.0
- Required by NodaTime
* Adds comments explaining changes in NodaTime
162 lines
8.4 KiB
XML
162 lines
8.4 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<TargetFramework>net462</TargetFramework>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<AssemblyName>QuantConnect.Common</AssemblyName>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<RestorePackages>true</RestorePackages>
|
|
<LangVersion>6</LangVersion>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<DocumentationFile>bin\$(Configuration)\QuantConnect.Common.xml</DocumentationFile>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>$(SelectedOptimization)</Optimize>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' AND '$(SelectedOptimization)' == ''">
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>pdbonly</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
|
|
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
|
|
<CodeAnalysisFailOnMissingRules>true</CodeAnalysisFailOnMissingRules>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x64\Mono\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisFailOnMissingRules>true</CodeAnalysisFailOnMissingRules>
|
|
</PropertyGroup>
|
|
<PropertyGroup>
|
|
<IsWindows>false</IsWindows>
|
|
<IsWindows Condition="'$(OS)' == 'Windows_NT'">true</IsWindows>
|
|
<IsOSX>false</IsOSX>
|
|
<IsOSX Condition="'$(IsWindows)' != 'true' AND '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::OSX)))' == 'true'">true</IsOSX>
|
|
<IsLinux>false</IsLinux>
|
|
<IsLinux Condition="'$(IsWindows)' != 'true' AND '$(IsOSX)' != 'true' AND '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))' == 'true'">true</IsLinux>
|
|
</PropertyGroup>
|
|
<Target Name="PrintRID" BeforeTargets="Build">
|
|
<Message Text="IsWindows $(IsWindows)" Importance="high" />
|
|
<Message Text="IsOSX $(IsOSX)" Importance="high" />
|
|
<Message Text="IsLinux $(IsLinux)" Importance="high" />
|
|
<Message Text="ForceLinuxBuild $(ForceLinuxBuild)" Importance="high" />
|
|
<Message Text="SelectedOptimization $(SelectedOptimization)" Importance="high" />
|
|
</Target>
|
|
<ItemGroup>
|
|
<PackageReference Include="CloneExtensions" Version="1.3.0" />
|
|
<PackageReference Include="DotNetZip" Version="1.13.3" />
|
|
<PackageReference Include="fasterflect" Version="2.1.3" />
|
|
<PackageReference Include="MathNet.Numerics" Version="3.19.0" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.FxCopAnalyzers" Version="2.9.3" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.VersionCheckAnalyzer" Version="2.9.3" />
|
|
<PackageReference Include="Microsoft.CodeQuality.Analyzers" Version="2.9.3" />
|
|
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="1.3.5" />
|
|
<PackageReference Include="Microsoft.Net.Compilers" Version="2.10.0">
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
<PrivateAssets>all</PrivateAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Microsoft.NetCore.Analyzers" Version="2.9.3" />
|
|
<PackageReference Include="Microsoft.NetFramework.Analyzers" Version="2.9.3" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
|
<PackageReference Include="NodaTime" Version="3.0.5" />
|
|
<PackageReference Include="protobuf-net" Version="3.0.29" />
|
|
<PackageReference Include="protobuf-net.Core" Version="3.0.29" />
|
|
<PackageReference Include="QLNet" Version="1.11.3" />
|
|
<PackageReference Include="QuantConnect.pythonnet" Version="1.0.5.30" />
|
|
<PackageReference Include="SharpZipLib" Version="1.2.0" />
|
|
<PackageReference Include="System.Buffers" Version="4.5.1" />
|
|
<PackageReference Include="System.Collections.Immutable" Version="1.7.1" />
|
|
<PackageReference Include="System.Memory" Version="4.5.4" />
|
|
<PackageReference Include="System.Numerics.Vectors" Version="4.5.0" />
|
|
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.3.0" />
|
|
<PackageReference Include="System.Runtime.CompilerServices.Unsafe" Version="5.0.0" />
|
|
<PackageReference Include="System.ServiceModel.Primitives" Version="4.7.0" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.IdentityModel" />
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.ComponentModel.Composition" />
|
|
<Reference Include="System.Configuration" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Drawing" />
|
|
<Reference Include="System.IdentityModel" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="Microsoft.CSharp" />
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="System.Runtime.Serialization" />
|
|
<Reference Include="System.ServiceModel" />
|
|
<Reference Include="System.Numerics" />
|
|
</ItemGroup>
|
|
<Choose>
|
|
<When Condition="$(IsWindows) AND '$(ForceLinuxBuild)' != 'true'">
|
|
<ItemGroup>
|
|
<Reference Include="Python.Runtime, Version=1.0.5.30, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>$(NuGetPackageRoot)\quantconnect.pythonnet\1.0.5.30\lib\win\Python.Runtime.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</When>
|
|
<When Condition="$(IsLinux) OR '$(ForceLinuxBuild)' == 'true'">
|
|
<ItemGroup>
|
|
<Reference Include="Python.Runtime, Version=1.0.5.30, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>$(NuGetPackageRoot)\quantconnect.pythonnet\1.0.5.30\lib\linux\Python.Runtime.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</When>
|
|
<When Condition="$(IsOSX) AND '$(ForceLinuxBuild)' != 'true'">
|
|
<ItemGroup>
|
|
<Reference Include="Python.Runtime, Version=1.0.5.30, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>$(NuGetPackageRoot)\quantconnect.pythonnet\1.0.5.30\lib\osx\Python.Runtime.dll</HintPath>
|
|
</Reference>
|
|
</ItemGroup>
|
|
</When>
|
|
</Choose>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Configuration\QuantConnect.Configuration.csproj" />
|
|
<ProjectReference Include="..\Logging\QuantConnect.Logging.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="Python\Python.Runtime.dll.config" Link="Python.Runtime.dll.config">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</None>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="decimal.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project>
|