mirror of
https://github.com/sochix/TLSharp.git
synced 2026-01-24 01:20:39 +01:00
The reason for such a hack when runing in CI is because we need to make sure we're using higher sequence numbers than any previous times (and even previous runs of the test suite). And we run 1 test only for now, later we will enable more. Other notes: The trick to extract secrets to files was taken from: https://stackoverflow.com/a/59482124/544947 The binary-to-text encoding/decoding was taken from: https://stackoverflow.com/a/42725926/544947 The way to add defines to DefineConstants for MSBuild: https://stackoverflow.com/a/5053070/544947
100 lines
4.7 KiB
XML
100 lines
4.7 KiB
XML
<?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')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{400D2544-1CC6-4D8A-A62C-2292D9947A16}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>TgSharp.Core</RootNamespace>
|
|
<AssemblyName>TgSharp.Core</AssemblyName>
|
|
<TargetFrameworkVersion>v4.6</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<TargetFrameworkProfile />
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</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>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition="'$(CI)'=='true'">
|
|
<DefineConstants>$(DefineConstants);CI</DefineConstants>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<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="Auth\Authenticator.cs" />
|
|
<Compile Include="Auth\Step1_PQRequest.cs" />
|
|
<Compile Include="Auth\Step2_DHExchange.cs" />
|
|
<Compile Include="Auth\Step3_CompleteDHExchange.cs" />
|
|
<Compile Include="DataCenterIPVersion.cs" />
|
|
<Compile Include="Exceptions\CloudPasswordNeededException.cs" />
|
|
<Compile Include="Exceptions\InvalidPhoneCodeException.cs" />
|
|
<Compile Include="Exceptions\MissingApiConfigurationException.cs" />
|
|
<Compile Include="MTProto\Crypto\AES.cs" />
|
|
<Compile Include="MTProto\Crypto\AuthKey.cs" />
|
|
<Compile Include="MTProto\Crypto\BigInteger.cs" />
|
|
<Compile Include="MTProto\Crypto\Crc32.cs" />
|
|
<Compile Include="MTProto\Crypto\Factorizator.cs" />
|
|
<Compile Include="MTProto\Crypto\MD5Digest.cs" />
|
|
<Compile Include="MTProto\Crypto\RSA.cs" />
|
|
<Compile Include="MTProto\Crypto\Salt.cs" />
|
|
<Compile Include="MTProto\Serializers.cs" />
|
|
<Compile Include="Network\Exceptions\DataCenterMigrationException.cs" />
|
|
<Compile Include="Network\Exceptions\FileMigrationException.cs" />
|
|
<Compile Include="Network\Exceptions\FloodException.cs" />
|
|
<Compile Include="Network\MtProtoPlainSender.cs" />
|
|
<Compile Include="Network\MtProtoSender.cs" />
|
|
<Compile Include="Network\Exceptions\NetworkMigrationException.cs" />
|
|
<Compile Include="Network\Exceptions\PhoneMigrationException.cs" />
|
|
<Compile Include="Network\TcpMessage.cs" />
|
|
<Compile Include="Network\TcpTransport.cs" />
|
|
<Compile Include="Network\Exceptions\UserMigrationException.cs" />
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="Network\Requests\AckRequest.cs" />
|
|
<Compile Include="Network\Requests\PingRequest.cs" />
|
|
<Compile Include="Utils\UploadHelper.cs" />
|
|
<Compile Include="Session.cs" />
|
|
<Compile Include="TelegramClient.cs" />
|
|
<Compile Include="Utils\Helpers.cs" />
|
|
<Compile Include="DataCenter.cs" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<None Include="packages.config" />
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<ProjectReference Include="..\TgSharp.TL\TgSharp.TL.csproj">
|
|
<Project>{d6144517-91d2-4880-86df-e9ff5d7f383a}</Project>
|
|
<Name>TgSharp.TL</Name>
|
|
</ProjectReference>
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<!-- 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> |