-
Notifications
You must be signed in to change notification settings - Fork 380
[Core] Change libs to netstandard #687
base: master
Are you sure you want to change the base?
Changes from 3 commits
d62e35d
bc30649
c621164
fee6aba
9fe43b5
81bbe62
5eea677
5e060a1
e52f1ca
b4024e1
c443ad0
b343c51
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,89 +1,31 @@ | ||
<?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>{400D2544-1CC6-4D8A-A62C-2292D9947A16}</ProjectGuid> | ||
<OutputType>Library</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>TLSharp.Core</RootNamespace> | ||
<AssemblyName>TLSharp.Core</AssemblyName> | ||
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
<TargetFrameworks>netstandard2.0;net47</TargetFrameworks> | ||
<PackageId>TLSharp.Core</PackageId> | ||
<Version>1.0.1</Version> | ||
<Authors>TLSharp.Core</Authors> | ||
<Company>TLSharp.Core</Company> | ||
<Product>TLSharp.Core</Product> | ||
<AssemblyVersion>1.0.1.0</AssemblyVersion> | ||
</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 Condition="'$(TargetFramework)'=='netstandard2.0'"> | ||
</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 Condition="'$(TargetFramework)'=='net47'"> | ||
</PropertyGroup> | ||
|
||
<ItemGroup> | ||
<Reference Include="Ionic.ZLib, Version=2.0.0.14, Culture=neutral, processorArchitecture=MSIL"> | ||
<HintPath>..\packages\MarkerMetro.Unity.Ionic.Zlib.2.0.0.14\lib\net35\Ionic.ZLib.dll</HintPath> | ||
<Private>True</Private> | ||
</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" /> | ||
<PackageReference Include="Ionic.Zlib.Core" Version="1.0.0" /> | ||
</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="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\MtProtoPlainSender.cs" /> | ||
<Compile Include="Network\MtProtoSender.cs" /> | ||
<Compile Include="Network\TcpMessage.cs" /> | ||
<Compile Include="Network\TcpTransport.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
<Compile Include="Requests\AckRequest.cs" /> | ||
<Compile Include="Requests\PingRequest.cs" /> | ||
<Compile Include="Utils\UploadHelper.cs" /> | ||
<Compile Include="Session.cs" /> | ||
<Compile Include="TelegramClient.cs" /> | ||
<Compile Include="Utils\Helpers.cs" /> | ||
<ProjectReference Include="..\TeleSharp.TL\TeleSharp.TL.csproj" /> | ||
</ItemGroup> | ||
|
||
<ItemGroup> | ||
<None Include="packages.config" /> | ||
<Folder Include="Properties\" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ProjectReference Include="..\TeleSharp.TL\TeleSharp.TL.csproj"> | ||
<Project>{d6144517-91d2-4880-86df-e9ff5d7f383a}</Project> | ||
<Name>TeleSharp.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> | ||
|
||
</Project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="NUnit" version="2.6.4" targetFramework="net45" /> | ||
<package id="NUnit" version="3.9.0" targetFramework="net47" /> | ||
</packages> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<appSettings> | ||
<add key="ApiHash" value="" /> | ||
<add key="ApiId" value="" /> | ||
<add key="NumberToAuthenticate" value="" /> | ||
<add key="CodeToAuthenticate" value="" /> | ||
<add key="ApiHash" value=""/> | ||
<add key="ApiId" value=""/> | ||
<add key="NumberToAuthenticate" value=""/> | ||
<add key="CodeToAuthenticate" value=""/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. why do you change this? please remove this noise There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is added from VS2017 because XML syntax is wrong in original file. There is no change here - Only correct spaces to MS defaults There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Well, you can remove this noise from the PullRequest. To not make this kind of mistake in the future, I recommend using a visualizing-tool for committing, for example There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed to old file with spaces There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed |
||
<add key="PasswordToAuthenticate" value=""/> | ||
<add key="NotRegisteredNumberToSignUp" value=""/> | ||
<add key="NumberToSendMessage" value=""/> | ||
<add key="UserNameToSendMessage" value=""/> | ||
<add key="NumberToGetUserFull" value=""/> | ||
<add key="NumberToAddToChat" value=""/> | ||
</appSettings> | ||
</configuration> | ||
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/></startup></configuration> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<configuration> | ||
<startup> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.5.2" /> | ||
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7"/> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. still pointing to 4.7, change it to 4.6.1 please There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed |
||
</startup> | ||
</configuration> | ||
</configuration> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<packages> | ||
<package id="Newtonsoft.Json" version="9.0.1" targetFramework="net452" /> | ||
<package id="Newtonsoft.Json" version="10.0.3" targetFramework="net47" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. still pointing to 4.7 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Changed |
||
</packages> |
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is still pointing to 4.7
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed