3.0, added NuGet
This commit is contained in:
2
Discord.Net/BuildNuget.cmd
Normal file
2
Discord.Net/BuildNuget.cmd
Normal file
@@ -0,0 +1,2 @@
|
||||
nuget pack Discord.Net.csproj -Prop Configuration=Release
|
||||
pause
|
||||
@@ -2,7 +2,7 @@
|
||||
<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>
|
||||
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
|
||||
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||
<ProjectGuid>{8D23F61B-723C-4966-859D-1119B28BCF19}</ProjectGuid>
|
||||
<OutputType>Library</OutputType>
|
||||
@@ -71,6 +71,10 @@
|
||||
<Compile Include="User.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Include="BuildNuget.cmd" />
|
||||
<None Include="Discord.Net.nuspec">
|
||||
<SubType>Designer</SubType>
|
||||
</None>
|
||||
<None Include="packages.config" />
|
||||
</ItemGroup>
|
||||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||
|
||||
17
Discord.Net/Discord.Net.nuspec
Normal file
17
Discord.Net/Discord.Net.nuspec
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<package >
|
||||
<metadata>
|
||||
<id>$id$</id>
|
||||
<version>$version$</version>
|
||||
<title>$title$</title>
|
||||
<authors>$author$</authors>
|
||||
<owners>$author$</owners>
|
||||
<licenseUrl>http://opensource.org/licenses/MIT</licenseUrl>
|
||||
<projectUrl>https://github.com/RogueException/Discord.Net</projectUrl>
|
||||
<requireLicenseAcceptance>false</requireLicenseAcceptance>
|
||||
<description>$description$</description>
|
||||
<releaseNotes>Initial NuGet alpha release</releaseNotes>
|
||||
<copyright>Copyright 2015</copyright>
|
||||
<tags>Discord DiscordApp</tags>
|
||||
</metadata>
|
||||
</package>
|
||||
@@ -1,7 +1,7 @@
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyTitle("Discord.Net")]
|
||||
[assembly: AssemblyDescription("A .Net API wrapper for the Discord client.")]
|
||||
[assembly: AssemblyDescription("An unofficial .Net API wrapper for the Discord client.")]
|
||||
[assembly: AssemblyConfiguration("")]
|
||||
[assembly: AssemblyCompany("RogueException")]
|
||||
[assembly: AssemblyProduct("Discord.Net")]
|
||||
@@ -9,5 +9,5 @@
|
||||
[assembly: AssemblyTrademark("")]
|
||||
[assembly: AssemblyCulture("")]
|
||||
|
||||
[assembly: AssemblyVersion("0.2.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.2.0.0")]
|
||||
[assembly: AssemblyVersion("0.3.0.0")]
|
||||
[assembly: AssemblyFileVersion("0.3.0.0")]
|
||||
|
||||
Reference in New Issue
Block a user