Created a .NET Core project files

This commit is contained in:
OG 2020-12-07 01:49:11 +02:00
parent 1b06473108
commit dbea4aeb3e
4 changed files with 71 additions and 14 deletions

View file

@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("TLSharp.Core")] //[assembly: AssemblyTitle("TLSharp.Core")]
[assembly: AssemblyDescription("")] //[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] //[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] //[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TLSharp.Core")] //[assembly: AssemblyProduct("TLSharp.Core")]
[assembly: AssemblyCopyright("Copyright © 2015")] [assembly: AssemblyCopyright("Copyright © 2015")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] //[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] //[assembly: AssemblyFileVersion("1.0.0.0")]

View file

@ -0,0 +1,30 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<Authors>Mahdi K. Fard</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>A port of TLSharp for .NET Standard 2.0.</Description>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
<Version>1.0.0</Version>
<RepositoryUrl>https://github.com/xclud/Telegram</RepositoryUrl>
<PackageProjectUrl>https://github.com/xclud/Telegram</PackageProjectUrl>
<PackageTags>Telegram</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TLSchema" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Requests\AuthSendCodeRequest.cs" />
<Compile Remove="Requests\AuthSignInRequest.cs" />
<Compile Remove="Requests\DownloadFileRequest.cs" />
<Compile Remove="Requests\InitConnectionRequest.cs" />
<Compile Remove="Requests\MTProtoRequest.cs" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\TeleSharp.TL\TeleSharp.TLCore.csproj" />
</ItemGroup>
</Project>

View file

@ -5,11 +5,11 @@ using System.Runtime.InteropServices;
// General Information about an assembly is controlled through the following // General Information about an assembly is controlled through the following
// set of attributes. Change these attribute values to modify the information // set of attributes. Change these attribute values to modify the information
// associated with an assembly. // associated with an assembly.
[assembly: AssemblyTitle("TeleSharp.TL")] //[assembly: AssemblyTitle("TeleSharp.TL")]
[assembly: AssemblyDescription("")] //[assembly: AssemblyDescription("")]
[assembly: AssemblyConfiguration("")] //[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")] //[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("TeleSharp.TL")] //[assembly: AssemblyProduct("TeleSharp.TL")]
[assembly: AssemblyCopyright("Copyright © 2016")] [assembly: AssemblyCopyright("Copyright © 2016")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
@ -32,5 +32,5 @@ using System.Runtime.InteropServices;
// You can specify all the values or you can default the Build and Revision Numbers // You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below: // by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")] // [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.0")] //[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")] //[assembly: AssemblyFileVersion("1.0.0.0")]

View file

@ -0,0 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<LangVersion>8.0</LangVersion>
<Authors>Mahdi K. Fard</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Description>A port of TLSharp for .NET Standard 2.0.</Description>
<AssemblyVersion>1.0.0</AssemblyVersion>
<FileVersion>1.0.0</FileVersion>
<Version>1.0.0</Version>
<RepositoryUrl>https://github.com/xclud/Telegram</RepositoryUrl>
<PackageProjectUrl>https://github.com/xclud/Telegram</PackageProjectUrl>
<PackageTags>Telegram</PackageTags>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="TLSchema" Version="1.1.0" />
</ItemGroup>
<ItemGroup>
<Compile Remove="Requests\AuthSendCodeRequest.cs" />
<Compile Remove="Requests\AuthSignInRequest.cs" />
<Compile Remove="Requests\DownloadFileRequest.cs" />
<Compile Remove="Requests\InitConnectionRequest.cs" />
<Compile Remove="Requests\MTProtoRequest.cs" />
</ItemGroup>
</Project>