Skip to content

Commit

Permalink
NuGet packaging support.
Browse files Browse the repository at this point in the history
  • Loading branch information
MathieuTurcotte committed Feb 8, 2012
1 parent 70ef942 commit d3e9131
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 21 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Expand Up @@ -48,4 +48,5 @@ _ReSharper*/
~$*

#NuGet
packages/
packages/
*.nupkg
20 changes: 10 additions & 10 deletions OAuth.sln
Expand Up @@ -19,16 +19,16 @@ Global
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Any CPU.ActiveCfg = Debug|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Mixed Platforms.Build.0 = Debug|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|x86.ActiveCfg = Debug|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|x86.Build.0 = Debug|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Any CPU.ActiveCfg = Release|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Mixed Platforms.ActiveCfg = Release|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Mixed Platforms.Build.0 = Release|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|x86.ActiveCfg = Release|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|x86.Build.0 = Release|x86
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Any CPU.Build.0 = Debug|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Debug|x86.ActiveCfg = Debug|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Any CPU.ActiveCfg = Release|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Any CPU.Build.0 = Release|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|Mixed Platforms.Build.0 = Release|Any CPU
{F5502E63-B486-4FCA-9F09-21054C905831}.Release|x86.ActiveCfg = Release|Any CPU
{45ED8DDF-9C79-4107-8C45-7826846F6B6B}.Debug|Any CPU.ActiveCfg = Debug|x86
{45ED8DDF-9C79-4107-8C45-7826846F6B6B}.Debug|Mixed Platforms.ActiveCfg = Debug|x86
{45ED8DDF-9C79-4107-8C45-7826846F6B6B}.Debug|Mixed Platforms.Build.0 = Debug|x86
Expand Down
12 changes: 6 additions & 6 deletions OAuth/OAuth.csproj
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">x86</Platform>
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProductVersion>8.0.30703</ProductVersion>
<SchemaVersion>2.0</SchemaVersion>
<ProjectGuid>{F5502E63-B486-4FCA-9F09-21054C905831}</ProjectGuid>
Expand All @@ -15,8 +15,8 @@
</TargetFrameworkProfile>
<FileAlignment>512</FileAlignment>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">
<PlatformTarget>x86</PlatformTarget>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
Expand All @@ -25,8 +25,8 @@
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">
<PlatformTarget>x86</PlatformTarget>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
Expand Down
16 changes: 16 additions & 0 deletions OAuth/OAuth.nuspec
@@ -0,0 +1,16 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>OAuthClient</id>
<version>$version$</version>
<title>OAuth 1.0 Client Library</title>
<authors>Mathieu Turcotte</authors>
<owners>Mathieu Turcotte</owners>
<licenseUrl>http://mturcotte.mit-license.org/</licenseUrl>
<projectUrl>https://github.com/MathieuTurcotte/CSharp-OAuth-Client-Library</projectUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>OAuth 1.0 client library</description>
<copyright>Copyright 2012</copyright>
<tags>oauth .net35 .net40</tags>
</metadata>
</package>
8 changes: 4 additions & 4 deletions OAuth/Properties/AssemblyInfo.cs
Expand Up @@ -3,9 +3,9 @@
using System.Runtime.InteropServices;

[assembly: AssemblyTitle("OAuth")]
[assembly: AssemblyDescription("")]
[assembly: AssemblyDescription("OAuth 1.0 client library")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyCompany("Mathieu Turcotte")]
[assembly: AssemblyProduct("OAuth")]
[assembly: AssemblyCopyright("Copyright © 2012")]
[assembly: AssemblyTrademark("")]
Expand All @@ -17,5 +17,5 @@

[assembly: Guid("594442e4-b1dc-491e-a121-82c87ccfea76")]

[assembly: AssemblyVersion("1.0.0.0")]
[assembly: AssemblyFileVersion("1.0.0.0")]
[assembly: AssemblyVersion("0.9.0")]
[assembly: AssemblyFileVersion("0.9.0")]

0 comments on commit d3e9131

Please sign in to comment.