a0f39ec6a4
* Remove Microsoft.Net.Compilers * Remove deprecated analyzer packages - Replace deprecated analyzer packages * Travis will use dotnet for building
128 lines
6.3 KiB
XML
128 lines
6.3 KiB
XML
<Project Sdk="Microsoft.NET.Sdk">
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProductVersion>8.0.30703</ProductVersion>
|
|
<RootNamespace>QuantConnect.Algorithm</RootNamespace>
|
|
<AssemblyName>QuantConnect.Algorithm</AssemblyName>
|
|
<TargetFramework>net462</TargetFramework>
|
|
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
|
|
<LangVersion>6</LangVersion>
|
|
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
|
|
<AnalysisMode>AllEnabledByDefault</AnalysisMode>
|
|
<OutputPath>bin\$(Configuration)\</OutputPath>
|
|
<DocumentationFile>bin\$(Configuration)\QuantConnect.Algorithm.xml</DocumentationFile>
|
|
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
|
|
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<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)' == 'Debug|x64'">
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<DebugType>full</DebugType>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Release|x64'">
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<Optimize>true</Optimize>
|
|
<DebugType>pdbonly</DebugType>
|
|
<CodeAnalysisIgnoreBuiltInRuleSets>true</CodeAnalysisIgnoreBuiltInRuleSets>
|
|
<CodeAnalysisIgnoreBuiltInRules>false</CodeAnalysisIgnoreBuiltInRules>
|
|
</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" />
|
|
</Target>
|
|
<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>
|
|
<PackageReference Include="MathNet.Numerics" Version="3.19.0" />
|
|
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3">
|
|
<PrivateAssets>all</PrivateAssets>
|
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
|
</PackageReference>
|
|
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
|
|
<PackageReference Include="NodaTime" Version="3.0.5" />
|
|
<PackageReference Include="QuantConnect.pythonnet" Version="1.0.5.30" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Reference Include="Microsoft.CSharp" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="..\Common\Properties\SharedAssemblyInfo.cs" Link="Properties\SharedAssemblyInfo.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\Configuration\QuantConnect.Configuration.csproj" />
|
|
<ProjectReference Include="..\Indicators\QuantConnect.Indicators.csproj" />
|
|
<ProjectReference Include="..\Common\QuantConnect.csproj" />
|
|
<ProjectReference Include="..\Logging\QuantConnect.Logging.csproj" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Content Include="Alphas\NullAlphaModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Execution\ImmediateExecutionModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Execution\NullExecutionModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Portfolio\NullPortfolioConstructionModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Risk\CompositeRiskManagementModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Risk\NullRiskManagementModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Selection\ManualUniverseSelectionModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
<Content Include="Selection\UniverseSelectionModel.py">
|
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
|
</Content>
|
|
</ItemGroup>
|
|
</Project>
|