Permalink
Browse files

Prepping changes for nuget update.

  • Loading branch information...
1 parent 07646db commit 1c652149c1db6520192ac2d41b53bbd0fb7224f8 @DigitallyBorn DigitallyBorn committed May 29, 2012
View
@@ -1,9 +1,10 @@
-[Oo]bj/
-[Bb]in/
-*.suo
-*.user
-*.vspscc
-*.vssscc
-_Resharper.*
-Release
-Debug
+[Oo]bj/
+[Bb]in/
+*.suo
+*.user
+*.vspscc
+*.vssscc
+_Resharper.*
+Release
+Debug
+*.nupkg
View
@@ -51,8 +51,9 @@
[assembly: AssemblyCopyright("2010 Patrick 'Ricky' Smith (www.ricky-dev.com)")]
[assembly: AssemblyTrademark("")]
-[assembly: AssemblyVersion("2.4.0.*")]
-[assembly: AssemblyFileVersion("2.4.0.0")]
+[assembly: AssemblyVersion("2.4.1.*")]
+[assembly: AssemblyFileVersion("2.4.1.0")]
+[assembly: AssemblyInformationalVersion("2.4.1")]
#if !SILVERLIGHT
[assembly: AllowPartiallyTrustedCallers]
View
@@ -0,0 +1,4 @@
+@echo off
+lib\nuget.exe Update -self
+lib\nuget.exe pack Twitterizer2\Twitterizer2.csproj -Prop Configuration=Release
+lib\nuget.exe pack Twitterizer2\Twitterizer2.csproj -Prop Configuration=Release -Symbols
View
@@ -0,0 +1 @@
+@echo off
View
@@ -1,13 +1,16 @@
-For most applications, Twitterizer2 is the project that will create the assembly you want.
-
-== Build From Source ==
-Requirements:
-* Visual Studio 2010 / Mono
-* [http://www.nuget.org/ NuGet]
-
-Depending on your target application, you may want (or need) to remove the silverlight projects from the solution.
-
-== Build for .NET 3.5 ==
-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.
-
+For most applications, Twitterizer2 is the project that will create the assembly you want.
+
+== Build From Source ==
+Requirements:
+* Visual Studio 2010 / Mono
+* [http://www.nuget.org/ NuGet]
+
+Depending on your target application, you may want (or need) to remove the silverlight projects from the solution.
+
+== New in 2.4.1 ==
+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.
+
+== Build for .NET 3.5 ==
+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.
+
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.
@@ -45,12 +45,12 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\OAuth-only\</OutputPath>
+ <OutputPath>..\Release\net40\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <DocumentationFile>..\Release\Twitterizer2\OAuth-only\Twitterizer.OAuth.XML</DocumentationFile>
+ <DocumentationFile>..\Release\net40\Twitterizer.OAuth.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
@@ -85,7 +85,7 @@
<Link>Twitterizer2.license.txt</Link>
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
- <Content Include="README.txt">
+ <Content Include="Twitterizer.OAuth.txt">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</Content>
</ItemGroup>
@@ -40,13 +40,13 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\Silverlight\</OutputPath>
+ <OutputPath>..\Release\sl4\</OutputPath>
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DocumentationFile>..\Release\Twitterizer2\Silverlight\Twitterizer2.Async.Silverlight.XML</DocumentationFile>
+ <DocumentationFile>..\Release\sl4\Twitterizer2.Async.Silverlight.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
@@ -45,13 +45,13 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\Async\</OutputPath>
+ <OutputPath>..\Release\net40\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<RunCodeAnalysis>false</RunCodeAnalysis>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <DocumentationFile>..\Release\Twitterizer2\Async\Twitterizer2.Asynchronous.XML</DocumentationFile>
+ <DocumentationFile>..\Release\net40\Twitterizer2.Asynchronous.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
@@ -42,13 +42,13 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\Silverlight\</OutputPath>
+ <OutputPath>..\Release\sl4\</OutputPath>
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DocumentationFile>..\Release\Twitterizer2\Silverlight\Twitterizer2.Silverlight.XML</DocumentationFile>
+ <DocumentationFile>..\Release\sl4\Twitterizer2.Silverlight.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>false</SignAssembly>
@@ -40,13 +40,13 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\Silverlight\</OutputPath>
+ <OutputPath>..\Release\sl4\</OutputPath>
<DefineConstants>TRACE;SILVERLIGHT</DefineConstants>
<NoStdLib>true</NoStdLib>
<NoConfig>true</NoConfig>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DocumentationFile>..\Release\Twitterizer2\Silverlight\Twitterizer2.Streaming.Silverlight.XML</DocumentationFile>
+ <DocumentationFile>..\Release\sl4\Twitterizer2.Streaming.Silverlight.XML</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Reference Include="mscorlib" />
@@ -49,12 +49,12 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\Streaming\</OutputPath>
+ <OutputPath>..\Release\net40\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
- <DocumentationFile>..\Release\Twitterizer2\Streaming\Twitterizer2.Streaming.XML</DocumentationFile>
+ <DocumentationFile>..\Release\net40\Twitterizer2.Streaming.XML</DocumentationFile>
</PropertyGroup>
<PropertyGroup>
<SignAssembly>true</SignAssembly>
@@ -51,11 +51,11 @@
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
- <OutputPath>..\Release\Twitterizer2\Full\</OutputPath>
+ <OutputPath>..\Release\net40\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
- <DocumentationFile>..\Release\Twitterizer2\Full\Twitterizer2.XML</DocumentationFile>
+ <DocumentationFile>..\Release\net40\Twitterizer2.XML</DocumentationFile>
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Mono-Debug|AnyCPU' ">
@@ -11,23 +11,14 @@
<iconUrl>http://www.twitterizer.net/twitterizer-icon-draft1.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>$description$</description>
- <releaseNotes>This version is built for .NET 4.0.
-Removed NextPage() and PreviousPage() methods -- users must manage page numbers and cursors manually
-Lots of bug fixes
-Add support for GET users/profile_image/:screen_name
-Add support for GET blocks/blocking/ids
-Add support for GET blocks/blocking
-Add support for GET friendships/incoming
-Add support for GET friendships/outgoing
-Add support for GET trends/:woeid
-Add support for POST notifications/follow
-Add support for POST notifications/leave
-ListFavorites has a "count" parameter
-Add support for POST account/update_profile
-Add support for DELETE :user/:list_id/subscribers
-Add support for POST lists/subscribers/create
+ <releaseNotes>
+ Fixed a few bugs with json.net dependency and json parsing.
+ Now built for the client profile.
</releaseNotes>
- <copyright>Copyright 2011 Patrick "Ricky" Smith</copyright>
+ <dependencies>
+ <dependency id="Newtonsoft.Json" version="[4.5.5]" />
+ </dependencies>
+ <copyright>Copyright 2012 Patrick "Ricky" Smith</copyright>
<tags>twitter twitterizer</tags>
</metadata>
</package>
View
Binary file not shown.
View
@@ -1,63 +0,0 @@
-<?xml version="1.0"?>
-<project name="Twitterizer" default="build">
- <target name="build" depends="clean">
- <mkdir dir="${CCNetWorkingDirectory}\bin" />
- <csc target="library" output="${CCNetWorkingDirectory}\bin\Twitterizer2.dll" doc="${CCNetWorkingDirectory}\bin\Twitterizer2.xml">
- <sources>
- <include name="${CCNetWorkingDirectory}\Twitterizer2\**\*.cs" />
- </sources>
- <references>
- <include name="${CCNetWorkingDirectory}\lib\Newtonsoft.Json.dll" />
- <include name="System.Web.dll" />
- </references>
- </csc>
- </target>
-
- <target name="buildstreaming" depends="build">
- <csc target="library" output="${CCNetWorkingDirectory}\bin\Twitterizer2.Streaming.dll" doc="${CCNetWorkingDirectory}\bin\Twitterizer2.Streaming.xml">
- <sources>
- <include name="${CCNetWorkingDirectory}\Twitterizer2.Streaming\**\*.cs" />
- </sources>
- <references>
- <include name="${CCNetWorkingDirectory}\bin\Twitterizer2.dll" />
- <include name="${CCNetWorkingDirectory}\lib\Newtonsoft.Json.dll" />
- <include name="System.Web.dll" />
- </references>
- </csc>
- </target>
-
- <target name="clean" description="Delete all previously compiled binaries.">
- <delete>
- <fileset>
- <include name="**/bin/**" />
- <include name="**/obj/**" />
- <include name="**/*.suo" />
- <include name="**/*.user" />
- </fileset>
- </delete>
- </target>
-
- <target name="test" depends="build,buildstreaming">
- <csc target="library" output="${CCNetWorkingDirectory}\bin\Twitterizer2.TestCases.dll">
- <sources>
- <include name="${CCNetWorkingDirectory}\Twitterizer2.TestCases\**\*.cs" />
- </sources>
- <references>
- <include name="${CCNetWorkingDirectory}\bin\Twitterizer2.dll" />
- <include name="${CCNetWorkingDirectory}\bin\Twitterizer2.Streaming.dll" />
- <include name="${CCNetWorkingDirectory}\lib\Newtonsoft.Json.dll" />
- <include name="${CCNetWorkingDirectory}\lib\nunit.framework.dll" />
- </references>
- </csc>
-
- <nunit2 haltonfailure="true">
- <test assemblyname="${CCNetWorkingDirectory}\bin\Twitterizer2.TestCases.dll">
- <categories>
- <include name="Read-Only" />
- </categories>
- </test>
- </nunit2>
-
- <delete file="${CCNetWorkingDirectory}\bin\Twitterizer2.TestCases.dll" />
- </target>
-</project>

0 comments on commit 1c65214

Please sign in to comment.