Permalink
Browse files

- Removed packages from the repository. Thank you NuGet v 1.6 !

- Updated the following packages:
  *) RavenDb and RavenDbEmbeddable
  *) FacebookCore and FacebookWeb.5.2.1.0.nupkg
  *) NBuilder
- Refactored the unit tests to now always SetUp and TearDown for ~each~
  unit test. This means each test is now independent of each other :)
- Refactored the FakeQuestions and FakeUsers so they do not store the
  generated fake data into a static collection. The static collection was
  causing all sorts of mischief to the unit tests :(
  • Loading branch information...
1 parent d1b7152 commit d52f8a22f635c08f0b84e7c4038797b0a8a3a36f @PureKrome PureKrome committed Dec 21, 2011
Showing with 419 additions and 196,567 deletions.
  1. +2 −1 .gitignore
  2. +6 −0 .nuget/NuGet.Config
  3. BIN .nuget/NuGet.exe
  4. +52 −0 .nuget/NuGet.targets
  5. +9 −2 Code/RavenOverflow.Core/RavenOverflow.Core.csproj
  6. +4 −0 Code/RavenOverflow.Core/packages.config
  7. +9 −15 Code/RavenOverflow.FakeData/FakeQuestions.cs
  8. +10 −14 Code/RavenOverflow.FakeData/FakeUsers.cs
  9. +5 −2 Code/RavenOverflow.FakeData/RavenOverflow.FakeData.csproj
  10. +1 −1 Code/RavenOverflow.FakeData/packages.config
  11. +11 −7 Code/RavenOverflow.Services/RavenOverflow.Services.csproj
  12. +2 −2 Code/RavenOverflow.Services/packages.config
  13. +145 −164 Code/RavenOverflow.Tests/Controllers/HomeControllerTests.cs
  14. +32 −28 Code/RavenOverflow.Tests/RavenOverflow.Tests.csproj
  15. +50 −18 Code/RavenOverflow.Tests/TestBase.cs
  16. +2 −2 Code/RavenOverflow.Tests/packages.config
  17. +1 −1 Code/RavenOverflow.Web/Indexes/RecentPopularTags.cs
  18. +17 −11 Code/RavenOverflow.Web/RavenOverflow.Web.csproj
  19. +49 −50 Code/RavenOverflow.Web/Web.config
  20. +4 −5 Code/RavenOverflow.Web/packages.config
  21. +6 −0 RavenOverflow.sln
  22. BIN packages/CodeContracts.Unofficial.1.0.0.2/CodeContracts.Unofficial.1.0.0.2.nupkg
  23. +0 −2 packages/CodeContracts.Unofficial.1.0.0.2/Tools/install.ps1
  24. BIN packages/CodeContracts.Unofficial.1.0.0.2/lib/net35-client/Microsoft.Contracts.dll
  25. BIN packages/CodeContracts.Unofficial.1.0.0.2/lib/net40-client/DELETE_ME.dll
  26. BIN packages/CodeContracts.Unofficial.1.0.0.2/lib/sl3-wp/Microsoft.Contracts.dll
  27. BIN packages/CodeContracts.Unofficial.1.0.0.2/lib/sl4/Microsoft.Contracts.dll
  28. BIN packages/Facebook.5.2.1.0/Facebook.5.2.1.0.nupkg
  29. +0 −9 packages/Facebook.5.2.1.0/content/web.config.transform
  30. BIN packages/Facebook.5.2.1.0/lib/net35-client/CodeContracts/Facebook.Contracts.dll
  31. BIN packages/Facebook.5.2.1.0/lib/net35-client/Facebook.dll
  32. BIN packages/Facebook.5.2.1.0/lib/net40-client/CodeContracts/Facebook.Contracts.dll
  33. BIN packages/Facebook.5.2.1.0/lib/net40-client/Facebook.dll
  34. BIN packages/Facebook.5.2.1.0/lib/sl3-wp/CodeContracts/Facebook.Contracts.dll
  35. BIN packages/Facebook.5.2.1.0/lib/sl3-wp/Facebook.dll
  36. BIN packages/Facebook.5.2.1.0/lib/sl4/CodeContracts/Facebook.Contracts.dll
  37. BIN packages/Facebook.5.2.1.0/lib/sl4/Facebook.dll
  38. +0 −195 packages/Facebook.5.2.1.0/serializers/JsonNetSerializer.cs
  39. +0 −2 packages/Facebook.5.2.1.0/tools/Install.ps1
  40. BIN packages/FacebookWeb.5.2.1.0/FacebookWeb.5.2.1.0.nupkg
  41. +0 −15 packages/FacebookWeb.5.2.1.0/content/web.config.transform
  42. BIN packages/FacebookWeb.5.2.1.0/lib/net35/CodeContracts/Facebook.Web.Contracts.dll
  43. BIN packages/FacebookWeb.5.2.1.0/lib/net35/Facebook.Web.dll
  44. BIN packages/FacebookWeb.5.2.1.0/lib/net40/CodeContracts/Facebook.Web.Contracts.dll
  45. BIN packages/FacebookWeb.5.2.1.0/lib/net40/Facebook.Web.dll
  46. +0 −3 packages/FacebookWeb.5.2.1.0/tools/Install.ps1
  47. BIN packages/NBuilder.3.0.1/NBuilder.3.0.1.nupkg
  48. BIN packages/NBuilder.3.0.1/lib/FizzWare.NBuilder.dll
  49. BIN packages/NBuilder.3.0.1/lib/Silverlight 3.0/FizzWare.NBuilder-Silverlight.dll
  50. BIN packages/Newtonsoft.Json.4.0.2/Newtonsoft.Json.4.0.2.nupkg
  51. BIN packages/Newtonsoft.Json.4.0.2/lib/net20/Newtonsoft.Json.Net20.dll
  52. BIN packages/Newtonsoft.Json.4.0.2/lib/net20/Newtonsoft.Json.Net20.pdb
  53. +0 −6,520 packages/Newtonsoft.Json.4.0.2/lib/net20/Newtonsoft.Json.Net20.xml
  54. BIN packages/Newtonsoft.Json.4.0.2/lib/net35/Newtonsoft.Json.Net35.dll
  55. BIN packages/Newtonsoft.Json.4.0.2/lib/net35/Newtonsoft.Json.Net35.pdb
  56. +0 −6,711 packages/Newtonsoft.Json.4.0.2/lib/net35/Newtonsoft.Json.Net35.xml
  57. BIN packages/Newtonsoft.Json.4.0.2/lib/net40/Newtonsoft.Json.dll
  58. BIN packages/Newtonsoft.Json.4.0.2/lib/net40/Newtonsoft.Json.pdb
  59. +0 −6,862 packages/Newtonsoft.Json.4.0.2/lib/net40/Newtonsoft.Json.xml
  60. BIN packages/Newtonsoft.Json.4.0.2/lib/sl3-wp/Newtonsoft.Json.WindowsPhone.dll
  61. BIN packages/Newtonsoft.Json.4.0.2/lib/sl3-wp/Newtonsoft.Json.WindowsPhone.pdb
  62. +0 −6,331 packages/Newtonsoft.Json.4.0.2/lib/sl3-wp/Newtonsoft.Json.WindowsPhone.xml
  63. BIN packages/Newtonsoft.Json.4.0.2/lib/sl4/Newtonsoft.Json.Silverlight.dll
  64. BIN packages/Newtonsoft.Json.4.0.2/lib/sl4/Newtonsoft.Json.Silverlight.pdb
  65. +0 −6,361 packages/Newtonsoft.Json.4.0.2/lib/sl4/Newtonsoft.Json.Silverlight.xml
  66. BIN packages/RavenDB-Embedded.1.0.499/RavenDB-Embedded.1.0.499.nupkg
  67. +0 −6 packages/RavenDB-Embedded.1.0.499/content/Web.config.transform
  68. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/AsyncCtpLibrary.dll
  69. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Esent.Interop.dll
  70. +0 −30,180 packages/RavenDB-Embedded.1.0.499/lib/net40/Esent.Interop.xml
  71. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/ICSharpCode.NRefactory.dll
  72. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Lucene.Net.Contrib.Spatial.dll
  73. +0 −276 packages/RavenDB-Embedded.1.0.499/lib/net40/Lucene.Net.Contrib.Spatial.xml
  74. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Lucene.Net.Contrib.SpellChecker.dll
  75. +0 −254 packages/RavenDB-Embedded.1.0.499/lib/net40/Lucene.Net.Contrib.SpellChecker.xml
  76. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Lucene.Net.dll
  77. +0 −27,355 packages/RavenDB-Embedded.1.0.499/lib/net40/Lucene.Net.xml
  78. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Abstractions.dll
  79. +0 −397 packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Client.Embedded.XML
  80. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Client.Embedded.dll
  81. +0 −9,212 packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Client.Lightweight.XML
  82. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Client.Lightweight.dll
  83. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Database.dll
  84. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Munin.dll
  85. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Storage.Esent.dll
  86. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Storage.Managed.dll
  87. BIN packages/RavenDB-Embedded.1.0.499/lib/net40/Raven.Studio.xap
  88. BIN packages/RavenDB-Embedded.1.0.499/tools/Raven.Backup.exe
  89. BIN packages/RavenDB-Embedded.1.0.499/tools/Raven.Smuggler.exe
  90. BIN packages/RavenDB.1.0.499/RavenDB.1.0.499.nupkg
  91. +0 −6 packages/RavenDB.1.0.499/content/Web.config.transform
  92. BIN packages/RavenDB.1.0.499/lib/net35/Raven.Abstractions-3.5.dll
  93. +0 −7,004 packages/RavenDB.1.0.499/lib/net35/Raven.Client.Lightweight-3.5.XML
  94. BIN packages/RavenDB.1.0.499/lib/net35/Raven.Client.Lightweight-3.5.dll
  95. BIN packages/RavenDB.1.0.499/lib/net40/AsyncCtpLibrary.dll
  96. BIN packages/RavenDB.1.0.499/lib/net40/Raven.Abstractions.dll
  97. BIN packages/RavenDB.1.0.499/lib/net40/Raven.Client.Debug.dll
  98. +0 −9,212 packages/RavenDB.1.0.499/lib/net40/Raven.Client.Lightweight.XML
  99. BIN packages/RavenDB.1.0.499/lib/net40/Raven.Client.Lightweight.dll
  100. BIN packages/RavenDB.1.0.499/lib/net40/Raven.Client.MvcIntegration.dll
  101. BIN packages/RavenDB.1.0.499/lib/sl40/AsyncCtpLibrary_Silverlight.dll
  102. BIN packages/RavenDB.1.0.499/lib/sl40/MissingBitFromSilverlight.dll
  103. BIN packages/RavenDB.1.0.499/lib/sl40/Raven.Client.Silverlight.dll
  104. BIN packages/RavenDB.1.0.499/server/BouncyCastle.Crypto.dll
  105. BIN packages/RavenDB.1.0.499/server/Esent.Interop.dll
  106. +0 −30,180 packages/RavenDB.1.0.499/server/Esent.Interop.xml
  107. BIN packages/RavenDB.1.0.499/server/ICSharpCode.NRefactory.dll
  108. BIN packages/RavenDB.1.0.499/server/Lucene.Net.Contrib.Spatial.dll
  109. +0 −276 packages/RavenDB.1.0.499/server/Lucene.Net.Contrib.Spatial.xml
  110. BIN packages/RavenDB.1.0.499/server/Lucene.Net.Contrib.SpellChecker.dll
  111. +0 −254 packages/RavenDB.1.0.499/server/Lucene.Net.Contrib.SpellChecker.xml
  112. BIN packages/RavenDB.1.0.499/server/Lucene.Net.dll
  113. +0 −27,355 packages/RavenDB.1.0.499/server/Lucene.Net.xml
  114. BIN packages/RavenDB.1.0.499/server/NLog.dll
  115. +0 −14,403 packages/RavenDB.1.0.499/server/NLog.xml
  116. BIN packages/RavenDB.1.0.499/server/Newtonsoft.Json.dll
  117. +0 −6,862 packages/RavenDB.1.0.499/server/Newtonsoft.Json.xml
  118. BIN packages/RavenDB.1.0.499/server/Raven.Abstractions.dll
  119. BIN packages/RavenDB.1.0.499/server/Raven.Database.dll
  120. BIN packages/RavenDB.1.0.499/server/Raven.Munin.dll
  121. BIN packages/RavenDB.1.0.499/server/Raven.Server.exe
  122. BIN packages/RavenDB.1.0.499/server/Raven.Storage.Esent.dll
  123. BIN packages/RavenDB.1.0.499/server/Raven.Storage.Managed.dll
  124. BIN packages/RavenDB.1.0.499/server/Raven.Studio.xap
  125. BIN packages/RavenDB.1.0.499/server/Rhino.Licensing.dll
  126. BIN packages/RavenDB.1.0.499/tools/Raven.Backup.exe
  127. BIN packages/RavenDB.1.0.499/tools/Raven.Smuggler.exe
  128. +2 −1 packages/repositories.config
View
@@ -31,4 +31,5 @@ _ReSharper*/
AppData/
*.log.*
[Ll]ogs/
-[Dd]ata/
+[Dd]ata/
+[Pp]ackages/
View
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<configuration>
+ <solution>
+ <add key="disableSourceControlIntegration" value="true" />
+ </solution>
+</configuration>
View
Binary file not shown.
View
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="utf-8"?>
+<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(MSBuildProjectDirectory)\..\</SolutionDir>
+ <NuGetToolsPath>$([System.IO.Path]::Combine($(SolutionDir), ".nuget"))</NuGetToolsPath>
+ <NuGetExePath>$(NuGetToolsPath)\nuget.exe</NuGetExePath>
+ <PackagesConfig>$([System.IO.Path]::Combine($(ProjectDir), "packages.config"))</PackagesConfig>
+ <PackagesDir>$([System.IO.Path]::Combine($(SolutionDir), "packages"))</PackagesDir>
+ <PackageOutputDir Condition="$(PackageOutputDir) == ''">$(TargetDir.Trim('\\'))</PackageOutputDir>
+
+ <!-- Package sources used to restore packages. By default will used the registered sources under %APPDATA%\NuGet\NuGet.Config -->
+ <PackageSources>""</PackageSources>
+
+ <!-- Enable the restore command to run before builds -->
+ <RestorePackages Condition="$(RestorePackages) == ''">false</RestorePackages>
+
+ <!-- Property that enables building a package from a project -->
+ <BuildPackage Condition="$(BuildPackage) == ''">false</BuildPackage>
+
+ <!-- Commands -->
+ <RestoreCommand>"$(NuGetExePath)" install "$(PackagesConfig)" -source $(PackageSources) -o "$(PackagesDir)"</RestoreCommand>
+ <BuildCommand>"$(NuGetExePath)" pack "$(ProjectPath)" -p Configuration=$(Configuration) -o "$(PackageOutputDir)" -symbols</BuildCommand>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(RestorePackages) == 'true'">
+ RestorePackages;
+ $(BuildDependsOn);
+ </BuildDependsOn>
+
+ <!-- Make the build depend on restore packages -->
+ <BuildDependsOn Condition="$(BuildPackage) == 'true'">
+ $(BuildDependsOn);
+ BuildPackage;
+ </BuildDependsOn>
+ </PropertyGroup>
+
+ <Target Name="CheckPrerequisites">
+ <!-- Raise an error if we're unable to locate nuget.exe -->
+ <Error Condition="!Exists('$(NuGetExePath)')" Text="Unable to locate '$(NuGetExePath)'" />
+ </Target>
+
+ <Target Name="RestorePackages" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(RestoreCommand)"
+ LogStandardErrorAsError="true"
+ Condition="Exists('$(PackagesConfig)')" />
+ </Target>
+
+ <Target Name="BuildPackage" DependsOnTargets="CheckPrerequisites">
+ <Exec Command="$(BuildCommand)"
+ LogStandardErrorAsError="true" />
+ </Target>
+</Project>
@@ -12,6 +12,8 @@
<AssemblyName>RavenOverflow.Core</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\RavenOverflow\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -31,8 +33,9 @@
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
- <Reference Include="Newtonsoft.Json">
- <HintPath>..\..\packages\Newtonsoft.Json.4.0.2\lib\net40\Newtonsoft.Json.dll</HintPath>
+ <Reference Include="Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\packages\Newtonsoft.Json.4.0.5\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="System" />
</ItemGroup>
@@ -57,7 +60,11 @@
<ItemGroup>
<Folder Include="Filters\" />
</ItemGroup>
+ <ItemGroup>
+ <None Include="packages.config" />
+ </ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="utf-8"?>
+<packages>
+ <package id="Newtonsoft.Json" version="4.0.5" />
+</packages>
@@ -10,8 +10,6 @@ namespace RavenOverflow.FakeData
{
public static class FakeQuestions
{
- private static IList<Question> _fakeQuestions;
-
private static readonly IList<string> FakeTags = new List<string>
{
"ravendb",
@@ -48,22 +46,18 @@ public static ICollection<Question> CreateFakeQuestions(IList<string> userIds, i
userIds = FakeUsers.CreateFakeUsers(50).Select(x => x.Id).ToList();
}
- if (_fakeQuestions == null)
- {
- var fakeQuestions = new List<Question>();
-
- // Add our fake questions.
- fakeQuestions.AddRange(CreateFixedFakeQuestions(userIds));
+ var fakeQuestions = new List<Question>();
- for (int i = 0; i < numberOfFakeQuestions; i++)
- {
- fakeQuestions.Add(CreateAFakeQuestion(userIds.ToRandomList(1).Single(), userIds));
- }
+ IList<Question> fixedQuestion = CreateFixedFakeQuestions(userIds);
+ Condition.Requires(numberOfFakeQuestions).IsNotLessThan(fixedQuestion.Count);
- _fakeQuestions = fakeQuestions;
+ fakeQuestions.AddRange(fixedQuestion);
+ for (int i = 0; i < numberOfFakeQuestions - fixedQuestion.Count; i++)
+ {
+ fakeQuestions.Add(CreateAFakeQuestion(userIds.ToRandomList(1).Single(), userIds));
}
- return _fakeQuestions;
+ return fakeQuestions;
}
public static Question CreateAFakeQuestion(string userId, IList<string> answerUserIds)
@@ -142,7 +136,7 @@ private static Vote CreateAFakeVote()
.Build();
}
- private static IEnumerable<Question> CreateFixedFakeQuestions(IList<string> userIds)
+ private static IList<Question> CreateFixedFakeQuestions(IList<string> userIds)
{
Condition.Requires(userIds).IsNotNull().IsLongerOrEqual(1);
@@ -1,5 +1,6 @@
using System;
using System.Collections.Generic;
+using CuttingEdge.Conditions;
using FizzWare.NBuilder;
using FizzWare.NBuilder.Generators;
using RavenOverflow.Core.Entities;
@@ -8,8 +9,6 @@ namespace RavenOverflow.FakeData
{
public static class FakeUsers
{
- private static IList<User> _fakeUsers;
-
public static User CreateAFakeUser()
{
return Builder<User>
@@ -31,22 +30,20 @@ public static ICollection<User> CreateFakeUsers()
public static ICollection<User> CreateFakeUsers(int numberOfFakeUsers)
{
- if (_fakeUsers == null)
+ var fixedUsers = CreateFixedFakeUsers();
+ Condition.Requires(numberOfFakeUsers).IsNotLessThan(fixedUsers.Count);
+
+ var fakeUsers = new List<User>();
+ fakeUsers.AddRange(fixedUsers);
+ for (int i = 0; i < numberOfFakeUsers - fixedUsers.Count; i++)
{
- var fakeUsers = new List<User>();
- fakeUsers.AddRange(CreateFixedFakeUsers());
- for (int i = 0; i < numberOfFakeUsers; i++)
- {
- fakeUsers.Add(CreateAFakeUser());
- }
-
- _fakeUsers = fakeUsers;
+ fakeUsers.Add(CreateAFakeUser());
}
- return _fakeUsers;
+ return fakeUsers;
}
- private static IEnumerable<User> CreateFixedFakeUsers()
+ private static List<User> CreateFixedFakeUsers()
{
return new List<User>
{
@@ -62,6 +59,5 @@ private static IEnumerable<User> CreateFixedFakeUsers()
}
};
}
-
}
}
@@ -12,6 +12,8 @@
<AssemblyName>RavenOverflow.FakeData</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\RavenOverflow\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -34,8 +36,8 @@
<Reference Include="CuttingEdge.Conditions">
<HintPath>..\..\packages\CuttingEdge.Conditions.1.2.0.0\lib\NET35\CuttingEdge.Conditions.dll</HintPath>
</Reference>
- <Reference Include="FizzWare.NBuilder">
- <HintPath>..\..\packages\NBuilder.3.0.1\lib\FizzWare.NBuilder.dll</HintPath>
+ <Reference Include="FizzWare.NBuilder, Version=3.0.1.0, Culture=neutral, PublicKeyToken=5651b03e12e42c12, processorArchitecture=MSIL">
+ <HintPath>..\..\packages\NBuilder.3.0.1.1\lib\FizzWare.NBuilder.dll</HintPath>
</Reference>
<Reference Include="System" />
</ItemGroup>
@@ -54,6 +56,7 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CuttingEdge.Conditions" version="1.2.0.0" />
- <package id="NBuilder" version="3.0.1" />
+ <package id="NBuilder" version="3.0.1.1" />
</packages>
@@ -12,6 +12,8 @@
<AssemblyName>RavenOverflow.Services</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
+ <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\..\RavenOverflow\</SolutionDir>
+ <RestorePackages>true</RestorePackages>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -32,28 +34,29 @@
</PropertyGroup>
<ItemGroup>
<Reference Include="AsyncCtpLibrary, Version=1.0.4107.18181, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
- <HintPath>..\..\packages\RavenDB.1.0.499\lib\net40\AsyncCtpLibrary.dll</HintPath>
+ <HintPath>..\..\packages\RavenDB.1.0.573\lib\net40\AsyncCtpLibrary.dll</HintPath>
</Reference>
<Reference Include="CuttingEdge.Conditions">
<HintPath>..\..\packages\CuttingEdge.Conditions.1.2.0.0\lib\NET35\CuttingEdge.Conditions.dll</HintPath>
</Reference>
- <Reference Include="Newtonsoft.Json">
- <HintPath>..\..\packages\Newtonsoft.Json.4.0.2\lib\net40\Newtonsoft.Json.dll</HintPath>
+ <Reference Include="Newtonsoft.Json, Version=4.0.5.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
+ <SpecificVersion>False</SpecificVersion>
+ <HintPath>..\..\packages\Newtonsoft.Json.4.0.5\lib\net40\Newtonsoft.Json.dll</HintPath>
</Reference>
<Reference Include="NLog">
<HintPath>..\..\packages\NLog.2.0.0.2000\lib\net40\NLog.dll</HintPath>
</Reference>
<Reference Include="Raven.Abstractions, Version=1.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
- <HintPath>..\..\packages\RavenDB.1.0.499\lib\net40\Raven.Abstractions.dll</HintPath>
+ <HintPath>..\..\packages\RavenDB.1.0.573\lib\net40\Raven.Abstractions.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.Debug, Version=1.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
- <HintPath>..\..\packages\RavenDB.1.0.499\lib\net40\Raven.Client.Debug.dll</HintPath>
+ <HintPath>..\..\packages\RavenDB.1.0.573\lib\net40\Raven.Client.Debug.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.Lightweight, Version=1.0.0.0, Culture=neutral, PublicKeyToken=37f41c7f99471593, processorArchitecture=MSIL">
- <HintPath>..\..\packages\RavenDB.1.0.499\lib\net40\Raven.Client.Lightweight.dll</HintPath>
+ <HintPath>..\..\packages\RavenDB.1.0.573\lib\net40\Raven.Client.Lightweight.dll</HintPath>
</Reference>
<Reference Include="Raven.Client.MvcIntegration, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
- <HintPath>..\..\packages\RavenDB.1.0.499\lib\net40\Raven.Client.MvcIntegration.dll</HintPath>
+ <HintPath>..\..\packages\RavenDB.1.0.573\lib\net40\Raven.Client.MvcIntegration.dll</HintPath>
</Reference>
<Reference Include="System" />
<Reference Include="System.ComponentModel.Composition" />
@@ -76,6 +79,7 @@
<None Include="packages.config" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
+ <Import Project="$(SolutionDir)\.nuget\nuget.targets" />
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="CuttingEdge.Conditions" version="1.2.0.0" />
- <package id="Newtonsoft.Json" version="4.0.2" />
+ <package id="Newtonsoft.Json" version="4.0.5" />
<package id="NLog" version="2.0.0.2000" />
- <package id="RavenDB" version="1.0.499" />
+ <package id="RavenDB" version="1.0.573" />
</packages>
Oops, something went wrong.

0 comments on commit d52f8a2

Please sign in to comment.