213 lines
12 KiB
XML
213 lines
12 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<TargetFramework>net462</TargetFramework>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<OutputType>Library</OutputType>
|
|
<AssemblyName>QuantConnect.Common</AssemblyName>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<RestorePackages>true</RestorePackages>
|
|
<LangVersion>6</LangVersion>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>$(SelectedOptimization)</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<DocumentationFile>bin\Debug\QuantConnect.Common.xml</DocumentationFile>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<LangVersion>6</LangVersion>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
</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>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<LangVersion>6</LangVersion>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
<DocumentationFile>bin\Release\QuantConnect.Common.xml</DocumentationFile>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|AnyCPU'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\Mono\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>AnyCPU</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<LangVersion>6</LangVersion>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Debug|x64'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x64\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DocumentationFile>bin\Debug\QuantConnect.Common.XML</DocumentationFile>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
|
|
<CodeAnalysisFailOnMissingRules>false</CodeAnalysisFailOnMissingRules>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<OutputPath>bin\x64\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>true</CodeAnalysisIgnoreBuiltInRules>
|
|
<CodeAnalysisFailOnMissingRules>true</CodeAnalysisFailOnMissingRules>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Mono|x64'">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<OutputPath>bin\x64\Mono\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<PlatformTarget>x64</PlatformTarget>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>false</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisFailOnMissingRules>true</CodeAnalysisFailOnMissingRules>
|
|
<Prefer32Bit>false</Prefer32Bit>
|
|
<CodeAnalysisRuleSet>..\QuantConnect.ruleset</CodeAnalysisRuleSet>
|
|
</PropertyGroup>
|
|
<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>
|
|
<ItemGroup>
|
|
<PackageReference Include="CloneExtensions" Version="1.3.0" />
|
|
<PackageReference Include="DotNetZip" Version="1.13.3" />
|
|
<PackageReference Include="fasterflect" Version="2.1.3" />
|
|
<PackageReference Include="SharpZipLib" Version="1.2.0" />
|
|
<PackageReference Include="MathNet.Numerics" Version="3.19.0" />
|
|
<PackageReference Include="Microsoft.IO.RecyclableMemoryStream" Version="1.3.5" />
|
|
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
|
|
<PackageReference Include="NodaTime" Version="1.3.4" />
|
|
<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="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.Runtime.CompilerServices.Unsafe" Version="4.5.3" />
|
|
<PackageReference Include="System.ServiceModel.Primitives" Version="4.7.0" />
|
|
</ItemGroup>
|
|
<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>
|
|
<Choose>
|
|
<When Condition="$(IsWindows) AND '$(ForceLinuxBuild)' != 'true'">
|
|
<ItemGroup>
|
|
<Reference Include="Python.Runtime, Version=1.0.5.30, Culture=neutral, processorArchitecture=MSIL">
|
|
<HintPath>..\packages\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>..\packages\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>..\packages\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="packages.config" />
|
|
<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>
|
|
<ItemGroup>
|
|
<Analyzer Include="..\packages\Microsoft.CodeAnalysis.VersionCheckAnalyzer.2.9.3\analyzers\dotnet\Microsoft.CodeAnalysis.VersionCheckAnalyzer.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.CodeQuality.Analyzers.2.9.3\analyzers\dotnet\cs\Humanizer.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.CodeQuality.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.CodeQuality.Analyzers.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.CodeQuality.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.CodeQuality.CSharp.Analyzers.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.NetCore.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.NetCore.Analyzers.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.NetCore.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.NetCore.CSharp.Analyzers.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.NetFramework.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.NetFramework.Analyzers.dll" />
|
|
<Analyzer Include="..\packages\Microsoft.NetFramework.Analyzers.2.9.3\analyzers\dotnet\cs\Microsoft.NetFramework.CSharp.Analyzers.dll" />
|
|
</ItemGroup>
|
|
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
|
|
<PropertyGroup>
|
|
<ErrorText>This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
|
|
</PropertyGroup>
|
|
<Error Condition="!Exists('..\packages\QuantConnect.pythonnet.1.0.5.30\build\QuantConnect.pythonnet.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\QuantConnect.pythonnet.1.0.5.30\build\QuantConnect.pythonnet.targets'))" />
|
|
<Error Condition="!Exists('..\packages\Microsoft.CodeAnalysis.VersionCheckAnalyzer.2.9.3\build\Microsoft.CodeAnalysis.VersionCheckAnalyzer.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeAnalysis.VersionCheckAnalyzer.2.9.3\build\Microsoft.CodeAnalysis.VersionCheckAnalyzer.props'))" />
|
|
<Error Condition="!Exists('..\packages\Microsoft.CodeQuality.Analyzers.2.9.3\build\Microsoft.CodeQuality.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeQuality.Analyzers.2.9.3\build\Microsoft.CodeQuality.Analyzers.props'))" />
|
|
<Error Condition="!Exists('..\packages\Microsoft.NetCore.Analyzers.2.9.3\build\Microsoft.NetCore.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.NetCore.Analyzers.2.9.3\build\Microsoft.NetCore.Analyzers.props'))" />
|
|
<Error Condition="!Exists('..\packages\Microsoft.NetFramework.Analyzers.2.9.3\build\Microsoft.NetFramework.Analyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.NetFramework.Analyzers.2.9.3\build\Microsoft.NetFramework.Analyzers.props'))" />
|
|
<Error Condition="!Exists('..\packages\Microsoft.CodeAnalysis.FxCopAnalyzers.2.9.3\build\Microsoft.CodeAnalysis.FxCopAnalyzers.props')" Text="$([System.String]::Format('$(ErrorText)', '..\packages\Microsoft.CodeAnalysis.FxCopAnalyzers.2.9.3\build\Microsoft.CodeAnalysis.FxCopAnalyzers.props'))" />
|
|
</Target>
|
|
<!-- 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>
|
|
-->
|
|
</Project>
|