From 1bd20261c2fcda39d127a5d716f385b5d787e55c Mon Sep 17 00:00:00 2001 From: JamesNK Date: Sat, 10 Dec 2011 12:09:52 +0000 Subject: [PATCH] -Fixed referencing the NuGet package from Windows Phone 7.1 projects -Updated to the latest version of SandCastle Help File Builder --- Build/Newtonsoft.Json.nuspec | 2 +- Build/build.ps1 | 8 ++++---- Doc/doc.shfbproj | 7 ++++--- 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/Build/Newtonsoft.Json.nuspec b/Build/Newtonsoft.Json.nuspec index ab467cfb..3ede5467 100644 --- a/Build/Newtonsoft.Json.nuspec +++ b/Build/Newtonsoft.Json.nuspec @@ -3,7 +3,7 @@ Newtonsoft.Json Json.NET - 4.0.4 + 4.0.5 James Newton-King Json.NET is a popular high-performance JSON framework for .NET en-US diff --git a/Build/build.ps1 b/Build/build.ps1 index b0941226..c8e207a5 100644 --- a/Build/build.ps1 +++ b/Build/build.ps1 @@ -1,6 +1,6 @@ properties { - $zipFileName = "Json40r4.zip" - $majorVersion = "4.0.4" + $zipFileName = "Json40r5.zip" + $majorVersion = "4.0.5" $version = GetVersion $majorVersion $signAssemblies = $false $signKeyPath = "D:\Development\Releases\newtonsoft.snk" @@ -16,7 +16,7 @@ $workingDir = "$baseDir\Working" $builds = @( @{Name = "Newtonsoft.Json"; TestsName = "Newtonsoft.Json.Tests"; Constants=""; FinalDir="Net"; NuGetDir = "net40"; Framework="net-4.0"}, - @{Name = "Newtonsoft.Json.WindowsPhone"; TestsName = $null; Constants="SILVERLIGHT;WINDOWS_PHONE"; FinalDir="WindowsPhone"; NuGetDir = "sl3-wp"; Framework="net-4.0"}, + @{Name = "Newtonsoft.Json.WindowsPhone"; TestsName = $null; Constants="SILVERLIGHT;WINDOWS_PHONE"; FinalDir="WindowsPhone"; NuGetDir = "sl3-wp,sl4-windowsphone71"; Framework="net-4.0"}, @{Name = "Newtonsoft.Json.Silverlight"; TestsName = "Newtonsoft.Json.Tests.Silverlight"; Constants="SILVERLIGHT"; FinalDir="Silverlight"; NuGetDir = "sl4"; Framework="net-4.0"}, @{Name = "Newtonsoft.Json.Net35"; TestsName = "Newtonsoft.Json.Tests.Net35"; Constants="NET35"; FinalDir="Net35"; NuGetDir = "net35"; Framework="net-2.0"}, @{Name = "Newtonsoft.Json.Net20"; TestsName = "Newtonsoft.Json.Tests.Net20"; Constants="NET20"; FinalDir="Net20"; NuGetDir = "net20"; Framework="net-2.0"} @@ -92,7 +92,7 @@ task Package -depends Build { if ($buildDocumentation) { # Sandcastle has issues when compiling with .NET 4 MSBuild - http://shfb.codeplex.com/Thread/View.aspx?ThreadId=50652 - exec { .$env:windir\Microsoft.NET\Framework\v3.5\MSBuild.exe "/t:Clean;Rebuild" /p:Configuration=Release "/p:DocumentationSourcePath=$workingDir\Package\Bin\Net" $docDir\doc.shfbproj } "Error building documentation. Check that you have Sandcastle, Sandcastle Help File Builder and HTML Help Workshop installed." + exec { msbuild "/t:Clean;Rebuild" /p:Configuration=Release "/p:DocumentationSourcePath=$workingDir\Package\Bin\Net" $docDir\doc.shfbproj } "Error building documentation. Check that you have Sandcastle, Sandcastle Help File Builder and HTML Help Workshop installed." move -Path $workingDir\Documentation\Documentation.chm -Destination $workingDir\Package\Documentation.chm move -Path $workingDir\Documentation\LastBuild.log -Destination $workingDir\Documentation.log diff --git a/Doc/doc.shfbproj b/Doc/doc.shfbproj index 62ca3f22..45c26ab1 100644 --- a/Doc/doc.shfbproj +++ b/Doc/doc.shfbproj @@ -1,4 +1,5 @@ - + + Documentation @@ -31,7 +32,7 @@ HtmlHelp1, MSHelpViewer, Website - 3.5 + .NET 3.5 Json.NET - Quick Starts &amp%3b API Documentation Prototype MemberName