Browse Source

meta: update package for nuget

pull/1923/head
quin lynch 4 years ago
parent
commit
1ce712c673
8 changed files with 93 additions and 33 deletions
  1. +12
    -1
      src/Discord.Net.Core/Discord.Net.Core.csproj
  2. +12
    -1
      src/Discord.Net.Rest/Discord.Net.Rest.csproj
  3. +27
    -0
      src/Discord.Net.WebSocket/Discord - Backup.Net.WebSocket.csproj
  4. +12
    -1
      src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj
  5. +21
    -21
      src/Discord.Net/Discord.Net.nuspec
  6. +3
    -3
      test/Discord.Net.Tests.Unit/MockedEntities/MockedDMChannel.cs
  7. +3
    -3
      test/Discord.Net.Tests.Unit/MockedEntities/MockedGroupChannel.cs
  8. +3
    -3
      test/Discord.Net.Tests.Unit/MockedEntities/MockedTextChannel.cs

+ 12
- 1
src/Discord.Net.Core/Discord.Net.Core.csproj View File

@@ -4,9 +4,14 @@
<PropertyGroup>
<AssemblyName>Discord.Net.Core</AssemblyName>
<RootNamespace>Discord</RootNamespace>
<Description>The core components for the Discord.Net library.</Description>
<Description>The core components for the Discord.Net Labs library.</Description>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<PackageId>Discord.Net.Labs.Core</PackageId>
<Version>2.3.1</Version>
<Product>Discord.Net.Labs.Core</Product>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageIcon>Temporary.png</PackageIcon>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="12.0.2" />
@@ -16,4 +21,10 @@
<PrivateAssets>all</PrivateAssets>
</PackageReference>
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\..\..\..\Downloads\Temporary.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

+ 12
- 1
src/Discord.Net.Rest/Discord.Net.Rest.csproj View File

@@ -4,9 +4,14 @@
<PropertyGroup>
<AssemblyName>Discord.Net.Rest</AssemblyName>
<RootNamespace>Discord.Rest</RootNamespace>
<Description>A core Discord.Net library containing the REST client and models.</Description>
<Description>A core Discord.Net Labs library containing the REST client and models.</Description>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<PackageIcon>Temporary.png</PackageIcon>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<Version>2.3.1</Version>
<PackageId>Discord.Net.Labs.Rest</PackageId>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" />
@@ -14,4 +19,10 @@
<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
<Reference Include="System.Net.Http" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\..\..\..\Downloads\Temporary.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

+ 27
- 0
src/Discord.Net.WebSocket/Discord - Backup.Net.WebSocket.csproj View File

@@ -0,0 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="../../Discord.Net.targets" />
<Import Project="../../StyleAnalyzer.targets" />
<PropertyGroup>
<AssemblyName>Discord.Net.WebSocket</AssemblyName>
<RootNamespace>Discord.WebSocket</RootNamespace>
<Description>A core Discord.Net Labs library containing the WebSocket client and models.</Description>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>2.3.1</Version>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<PackageIcon>Temporary.png</PackageIcon>
<PackageId>Discord.Net.Labs.WebSocket</PackageId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" />
<ProjectReference Include="..\Discord.Net.Rest\Discord.Net.Rest.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\..\..\..\Downloads\Temporary.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

+ 12
- 1
src/Discord.Net.WebSocket/Discord.Net.WebSocket.csproj View File

@@ -4,13 +4,24 @@
<PropertyGroup>
<AssemblyName>Discord.Net.WebSocket</AssemblyName>
<RootNamespace>Discord.WebSocket</RootNamespace>
<Description>A core Discord.Net library containing the WebSocket client and models.</Description>
<Description>A core Discord.Net Labs library containing the WebSocket client and models.</Description>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">net461;netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' != 'Windows_NT' ">netstandard2.0;netstandard2.1</TargetFrameworks>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<Version>2.3.1</Version>
<RepositoryUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</RepositoryUrl>
<PackageProjectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</PackageProjectUrl>
<PackageIcon>Temporary.png</PackageIcon>
<PackageId>Discord.Net.Labs.WebSocket</PackageId>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" />
<ProjectReference Include="..\Discord.Net.Rest\Discord.Net.Rest.csproj" />
</ItemGroup>
<ItemGroup>
<None Include="..\..\..\..\..\..\Downloads\Temporary.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
</Project>

+ 21
- 21
src/Discord.Net/Discord.Net.nuspec View File

@@ -1,38 +1,38 @@
<?xml version="1.0"?>
<package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
<metadata>
<id>Discord.Net</id>
<version>2.3.0-dev$suffix$</version>
<title>Discord.Net</title>
<id>Discord.Net Labs</id>
<version>2.3.1$suffix$</version>
<title>Discord.Net Labs</title>
<authors>Discord.Net Contributors</authors>
<owners>foxbot</owners>
<description>An asynchronous API wrapper for Discord. This metapackage includes all of the optional Discord.Net components.</description>
<description>An experimental fork of Discord.NET that adds all the new discord features to play around with!</description>
<tags>discord;discordapp</tags>
<projectUrl>https://github.com/RogueException/Discord.Net</projectUrl>
<projectUrl>https://github.com/Discord-Net-Labs/Discord.Net-Labs</projectUrl>
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<iconUrl>https://github.com/RogueException/Discord.Net/raw/dev/docs/marketing/logo/PackageLogo.png</iconUrl>
<iconUrl>https://avatars.githubusercontent.com/u/84047264</iconUrl>
<dependencies>
<group targetFramework="net461">
<dependency id="Discord.Net.Core" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Rest" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.WebSocket" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Commands" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Webhook" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Core" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Rest" version="2.3.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Commands" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="2.3.1$suffix$" />
</group>
<group targetFramework="netstandard2.0">
<dependency id="Discord.Net.Core" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Rest" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.WebSocket" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Commands" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Webhook" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Core" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Rest" version="2.3.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Commands" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="2.3.1$suffix$" />
</group>
<group targetFramework="netstandard2.1">
<dependency id="Discord.Net.Core" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Rest" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.WebSocket" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Commands" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Webhook" version="2.3.0-dev$suffix$" />
<dependency id="Discord.Net.Core" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Rest" version="2.3.1$suffix$" />
<dependency id="Discord.Net.WebSocket" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Commands" version="2.3.1$suffix$" />
<dependency id="Discord.Net.Webhook" version="2.3.1$suffix$" />
</group>
</dependencies>
</metadata>


+ 3
- 3
test/Discord.Net.Tests.Unit/MockedEntities/MockedDMChannel.cs View File

@@ -73,17 +73,17 @@ namespace Discord
throw new NotImplementedException();
}

public Task<IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}

public Task<IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}

public Task<IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}


+ 3
- 3
test/Discord.Net.Tests.Unit/MockedEntities/MockedGroupChannel.cs View File

@@ -81,17 +81,17 @@ namespace Discord
throw new NotImplementedException();
}

public Task<IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}

public Task<IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}

public Task<IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}


+ 3
- 3
test/Discord.Net.Tests.Unit/MockedEntities/MockedTextChannel.cs View File

@@ -167,17 +167,17 @@ namespace Discord
throw new NotImplementedException();
}

public Task<IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendFileAsync(string filePath, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}

public Task<IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendFileAsync(Stream stream, string filename, string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, bool isSpoiler = false, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}

public Task<IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null)
public Task<IUserMessage> SendMessageAsync(string text = null, bool isTTS = false, Embed embed = null, RequestOptions options = null, AllowedMentions allowedMentions = null, MessageReference messageReference = null, MessageComponent component = null)
{
throw new NotImplementedException();
}


Loading…
Cancel
Save