Skip to content

Commit 1c65214

Browse files
committed
Prepping changes for nuget update.
1 parent 07646db commit 1c65214

16 files changed

+55
-117
lines changed

.gitignore

+10-9
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1-
[Oo]bj/
2-
[Bb]in/
3-
*.suo
4-
*.user
5-
*.vspscc
6-
*.vssscc
7-
_Resharper.*
8-
Release
9-
Debug
1+
[Oo]bj/
2+
[Bb]in/
3+
*.suo
4+
*.user
5+
*.vspscc
6+
*.vssscc
7+
_Resharper.*
8+
Release
9+
Debug
10+
*.nupkg

CommonAssemblyInfo.cs

+3-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,9 @@
5151
[assembly: AssemblyCopyright("2010 Patrick 'Ricky' Smith (www.ricky-dev.com)")]
5252
[assembly: AssemblyTrademark("")]
5353

54-
[assembly: AssemblyVersion("2.4.0.*")]
55-
[assembly: AssemblyFileVersion("2.4.0.0")]
54+
[assembly: AssemblyVersion("2.4.1.*")]
55+
[assembly: AssemblyFileVersion("2.4.1.0")]
56+
[assembly: AssemblyInformationalVersion("2.4.1")]
5657

5758
#if !SILVERLIGHT
5859
[assembly: AllowPartiallyTrustedCallers]

NugetPackage.bat

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
lib\nuget.exe Update -self
3+
lib\nuget.exe pack Twitterizer2\Twitterizer2.csproj -Prop Configuration=Release
4+
lib\nuget.exe pack Twitterizer2\Twitterizer2.csproj -Prop Configuration=Release -Symbols

NugetPublish.bat

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@echo off

README.mediawiki

+15-12
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
1-
For most applications, Twitterizer2 is the project that will create the assembly you want.
2-
3-
== Build From Source ==
4-
Requirements:
5-
* Visual Studio 2010 / Mono
6-
* [http://www.nuget.org/ NuGet]
7-
8-
Depending on your target application, you may want (or need) to remove the silverlight projects from the solution.
9-
10-
== Build for .NET 3.5 ==
11-
Twitterizer (as of this writing) is built for .NET 4.0 primarily. It is possible to build the library for .NET 3.5 by selecting it as the target framework in Visual Studio. VS2010 should build this will few changes needed. VS2008 may require more changes.
12-
1+
For most applications, Twitterizer2 is the project that will create the assembly you want.
2+
3+
== Build From Source ==
4+
Requirements:
5+
* Visual Studio 2010 / Mono
6+
* [http://www.nuget.org/ NuGet]
7+
8+
Depending on your target application, you may want (or need) to remove the silverlight projects from the solution.
9+
10+
== New in 2.4.1 ==
11+
The Twitterizer library is now built for the .NET 4.0 Client Profile. To do this, built-in support for caching has been removed. I highly suggest you cache data and limit requests made to Twitter, especially in high-traffic situations.
12+
13+
== Build for .NET 3.5 ==
14+
Twitterizer (as of this writing) is built for .NET 4.0 primarily. It is possible to build the library for .NET 3.5 by selecting it as the target framework in Visual Studio. VS2010 should build this will few changes needed. VS2008 may require more changes.
15+
1316
I understand that this might put you in a bad spot, but I have a hard time keeping up with code changes and bug fixes just keeping the library working at all. I really don't have the time to make sure that the code I'm writing is backward compatible.

Twitterizer.OAuth/Twitterizer.OAuth.csproj

+3-3
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@
4545
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
4646
<DebugType>pdbonly</DebugType>
4747
<Optimize>true</Optimize>
48-
<OutputPath>..\Release\Twitterizer2\OAuth-only\</OutputPath>
48+
<OutputPath>..\Release\net40\</OutputPath>
4949
<DefineConstants>TRACE</DefineConstants>
5050
<ErrorReport>prompt</ErrorReport>
5151
<WarningLevel>4</WarningLevel>
5252
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
53-
<DocumentationFile>..\Release\Twitterizer2\OAuth-only\Twitterizer.OAuth.XML</DocumentationFile>
53+
<DocumentationFile>..\Release\net40\Twitterizer.OAuth.XML</DocumentationFile>
5454
</PropertyGroup>
5555
<PropertyGroup>
5656
<SignAssembly>true</SignAssembly>
@@ -85,7 +85,7 @@
8585
<Link>Twitterizer2.license.txt</Link>
8686
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
8787
</Content>
88-
<Content Include="README.txt">
88+
<Content Include="Twitterizer.OAuth.txt">
8989
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
9090
</Content>
9191
</ItemGroup>
File renamed without changes.

Twitterizer2.Async.Silverlight/Twitterizer2.Async.Silverlight.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
4141
<DebugType>pdbonly</DebugType>
4242
<Optimize>true</Optimize>
43-
<OutputPath>..\Release\Twitterizer2\Silverlight\</OutputPath>
43+
<OutputPath>..\Release\sl4\</OutputPath>
4444
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
4545
<NoStdLib>true</NoStdLib>
4646
<NoConfig>true</NoConfig>
4747
<ErrorReport>prompt</ErrorReport>
4848
<WarningLevel>4</WarningLevel>
49-
<DocumentationFile>..\Release\Twitterizer2\Silverlight\Twitterizer2.Async.Silverlight.XML</DocumentationFile>
49+
<DocumentationFile>..\Release\sl4\Twitterizer2.Async.Silverlight.XML</DocumentationFile>
5050
</PropertyGroup>
5151
<PropertyGroup>
5252
<SignAssembly>false</SignAssembly>

Twitterizer2.Async/Twitterizer2.Async.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
4646
<DebugType>pdbonly</DebugType>
4747
<Optimize>true</Optimize>
48-
<OutputPath>..\Release\Twitterizer2\Async\</OutputPath>
48+
<OutputPath>..\Release\net40\</OutputPath>
4949
<DefineConstants>TRACE</DefineConstants>
5050
<ErrorReport>prompt</ErrorReport>
5151
<WarningLevel>4</WarningLevel>
5252
<RunCodeAnalysis>false</RunCodeAnalysis>
5353
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
54-
<DocumentationFile>..\Release\Twitterizer2\Async\Twitterizer2.Asynchronous.XML</DocumentationFile>
54+
<DocumentationFile>..\Release\net40\Twitterizer2.Asynchronous.XML</DocumentationFile>
5555
</PropertyGroup>
5656
<PropertyGroup>
5757
<SignAssembly>true</SignAssembly>

Twitterizer2.Silverlight/Twitterizer2.Silverlight.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@
4242
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
4343
<DebugType>pdbonly</DebugType>
4444
<Optimize>true</Optimize>
45-
<OutputPath>..\Release\Twitterizer2\Silverlight\</OutputPath>
45+
<OutputPath>..\Release\sl4\</OutputPath>
4646
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
4747
<NoStdLib>true</NoStdLib>
4848
<NoConfig>true</NoConfig>
4949
<ErrorReport>prompt</ErrorReport>
5050
<WarningLevel>4</WarningLevel>
51-
<DocumentationFile>..\Release\Twitterizer2\Silverlight\Twitterizer2.Silverlight.XML</DocumentationFile>
51+
<DocumentationFile>..\Release\sl4\Twitterizer2.Silverlight.XML</DocumentationFile>
5252
</PropertyGroup>
5353
<PropertyGroup>
5454
<SignAssembly>false</SignAssembly>

Twitterizer2.Streaming.Silverlight/Twitterizer2.Streaming.Silverlight.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,13 +40,13 @@
4040
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
4141
<DebugType>pdbonly</DebugType>
4242
<Optimize>true</Optimize>
43-
<OutputPath>..\Release\Twitterizer2\Silverlight\</OutputPath>
43+
<OutputPath>..\Release\sl4\</OutputPath>
4444
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
4545
<NoStdLib>true</NoStdLib>
4646
<NoConfig>true</NoConfig>
4747
<ErrorReport>prompt</ErrorReport>
4848
<WarningLevel>4</WarningLevel>
49-
<DocumentationFile>..\Release\Twitterizer2\Silverlight\Twitterizer2.Streaming.Silverlight.XML</DocumentationFile>
49+
<DocumentationFile>..\Release\sl4\Twitterizer2.Streaming.Silverlight.XML</DocumentationFile>
5050
</PropertyGroup>
5151
<ItemGroup>
5252
<Reference Include="mscorlib" />

Twitterizer2.Streaming/Twitterizer2.Streaming.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,12 @@
4949
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
5050
<DebugType>pdbonly</DebugType>
5151
<Optimize>true</Optimize>
52-
<OutputPath>..\Release\Twitterizer2\Streaming\</OutputPath>
52+
<OutputPath>..\Release\net40\</OutputPath>
5353
<DefineConstants>TRACE</DefineConstants>
5454
<ErrorReport>prompt</ErrorReport>
5555
<WarningLevel>4</WarningLevel>
5656
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
57-
<DocumentationFile>..\Release\Twitterizer2\Streaming\Twitterizer2.Streaming.XML</DocumentationFile>
57+
<DocumentationFile>..\Release\net40\Twitterizer2.Streaming.XML</DocumentationFile>
5858
</PropertyGroup>
5959
<PropertyGroup>
6060
<SignAssembly>true</SignAssembly>

Twitterizer2/Twitterizer2.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@
5151
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
5252
<DebugType>pdbonly</DebugType>
5353
<Optimize>true</Optimize>
54-
<OutputPath>..\Release\Twitterizer2\Full\</OutputPath>
54+
<OutputPath>..\Release\net40\</OutputPath>
5555
<DefineConstants>TRACE</DefineConstants>
5656
<ErrorReport>prompt</ErrorReport>
5757
<WarningLevel>4</WarningLevel>
58-
<DocumentationFile>..\Release\Twitterizer2\Full\Twitterizer2.XML</DocumentationFile>
58+
<DocumentationFile>..\Release\net40\Twitterizer2.XML</DocumentationFile>
5959
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
6060
</PropertyGroup>
6161
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Mono-Debug|AnyCPU' ">

Twitterizer2/Twitterizer2.nuspec

+7-16
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,14 @@
1111
<iconUrl>http://www.twitterizer.net/twitterizer-icon-draft1.png</iconUrl>
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>$description$</description>
14-
<releaseNotes>This version is built for .NET 4.0.
15-
Removed NextPage() and PreviousPage() methods -- users must manage page numbers and cursors manually
16-
Lots of bug fixes
17-
Add support for GET users/profile_image/:screen_name
18-
Add support for GET blocks/blocking/ids
19-
Add support for GET blocks/blocking
20-
Add support for GET friendships/incoming
21-
Add support for GET friendships/outgoing
22-
Add support for GET trends/:woeid
23-
Add support for POST notifications/follow
24-
Add support for POST notifications/leave
25-
ListFavorites has a "count" parameter
26-
Add support for POST account/update_profile
27-
Add support for DELETE :user/:list_id/subscribers
28-
Add support for POST lists/subscribers/create
14+
<releaseNotes>
15+
Fixed a few bugs with json.net dependency and json parsing.
16+
Now built for the client profile.
2917
</releaseNotes>
30-
<copyright>Copyright 2011 Patrick "Ricky" Smith</copyright>
18+
<dependencies>
19+
<dependency id="Newtonsoft.Json" version="[4.5.5]" />
20+
</dependencies>
21+
<copyright>Copyright 2012 Patrick "Ricky" Smith</copyright>
3122
<tags>twitter twitterizer</tags>
3223
</metadata>
3324
</package>

lib/NuGet.exe

573 KB
Binary file not shown.

twitterizer.build

-63
This file was deleted.

0 commit comments

Comments
 (0)