Skip to content

Commit 2f5b01e

Browse files
committed
Enabled nuget package restore. Ignore .nuget directory. Delete old nuget packages
1 parent 2d8516b commit 2f5b01e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+21
-109542
lines changed

.gitignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@ TestResults
99
*.bin
1010
*.user
1111
*.suo
12-
_ReSharper.*
12+
_ReSharper.*
13+
.nuget

SquirrelDb.Client/SquirrelDb.Client.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AssemblyName>SquirrelDb.Client</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
1416
</PropertyGroup>
1517
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1618
<DebugSymbols>true</DebugSymbols>
@@ -55,6 +57,7 @@
5557
<None Include="packages.config" />
5658
</ItemGroup>
5759
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
60+
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
5861
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5962
Other similar extension points exist, see Microsoft.Common.targets.
6063
<Target Name="BeforeBuild">

SquirrelDb.MocServer/SquirrelDb.MocServer.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AssemblyName>SquirrelDb.MocServer</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
1416
</PropertyGroup>
1517
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1618
<PlatformTarget>AnyCPU</PlatformTarget>
@@ -59,6 +61,7 @@
5961
</ProjectReference>
6062
</ItemGroup>
6163
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
64+
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
6265
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
6366
Other similar extension points exist, see Microsoft.Common.targets.
6467
<Target Name="BeforeBuild">

SquirrelDb.Test/SquirrelDb.Test.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<ReferencePath>$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages</ReferencePath>
1717
<IsCodedUITest>False</IsCodedUITest>
1818
<TestProjectType>UnitTest</TestProjectType>
19+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
20+
<RestorePackages>true</RestorePackages>
1921
</PropertyGroup>
2022
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2123
<DebugSymbols>true</DebugSymbols>
@@ -95,6 +97,7 @@
9597
</Choose>
9698
<Import Project="$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets" Condition="Exists('$(VSToolsPath)\TeamTest\Microsoft.TestTools.targets')" />
9799
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
100+
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
98101
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
99102
Other similar extension points exist, see Microsoft.Common.targets.
100103
<Target Name="BeforeBuild">

SquirrelDb.sln

+7
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SquirrelDb.Client.Console",
1919
EndProject
2020
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SquirrelDb.Interfaces", "SquirrelDb.Interfaces\SquirrelDb.Interfaces.csproj", "{FF2DDBCD-AC47-43C0-8753-DEE217452C57}"
2121
EndProject
22+
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{576A4C75-3186-4315-A318-C87868AAA9FE}"
23+
ProjectSection(SolutionItems) = preProject
24+
.nuget\NuGet.Config = .nuget\NuGet.Config
25+
.nuget\NuGet.exe = .nuget\NuGet.exe
26+
.nuget\NuGet.targets = .nuget\NuGet.targets
27+
EndProjectSection
28+
EndProject
2229
Global
2330
GlobalSection(SolutionConfigurationPlatforms) = preSolution
2431
Debug|Any CPU = Debug|Any CPU

SquirrelDb/SquirrelDb.csproj

+3
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AssemblyName>SquirrelDb</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<FileAlignment>512</FileAlignment>
14+
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\</SolutionDir>
15+
<RestorePackages>true</RestorePackages>
1416
</PropertyGroup>
1517
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
1618
<DebugSymbols>true</DebugSymbols>
@@ -76,6 +78,7 @@
7678
<None Include="packages.config" />
7779
</ItemGroup>
7880
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
81+
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
7982
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
8083
Other similar extension points exist, see Microsoft.Common.targets.
8184
<Target Name="BeforeBuild">
-310 KB
Binary file not shown.
-742 KB
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

packages/Newtonsoft.Json.4.5.10/Newtonsoft.Json.4.5.10.nuspec

-16
This file was deleted.
Binary file not shown.

0 commit comments

Comments
 (0)