Skip to content

Commit 86f2ae4

Browse files
committed
Package updates
Update Nuget packages for all projects. Added NUnit to the test projects. Added SolutionVersion.cs
1 parent 6f43571 commit 86f2ae4

8 files changed

Lines changed: 47 additions & 15 deletions

File tree

SolutionVersion.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
using System;
2+
using System.Reflection;
3+
using System.Runtime.InteropServices;
4+
5+
[assembly: ComVisible(false)]
6+
[assembly: CLSCompliantAttribute(false)]
7+
[assembly: AssemblyCompany("TemporalCohesion.co.uk")]
8+
[assembly: AssemblyVersionAttribute("0.0.0.01")]
9+
[assembly: AssemblyFileVersionAttribute("0.0.0.01")]
10+
[assembly: AssemblyInformationalVersionAttribute("0.0.0.1")]
11+
[assembly: AssemblyTitleAttribute("")]
12+
[assembly: AssemblyProductAttribute("")]
13+
[assembly: AssemblyDescriptionAttribute("")]
14+
[assembly: AssemblyTrademarkAttribute(" ")]
15+
[assembly: AssemblyCopyrightAttribute("")]

csharp-github-api.IntegrationTests/csharp-github-api.IntegrationTests.csproj

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,11 @@
4444
<Reference Include="Castle.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
4545
<HintPath>..\packages\Castle.Core.3.0.0.4001\lib\net40-client\Castle.Core.dll</HintPath>
4646
</Reference>
47-
<Reference Include="FluentAssertions, Version=1.7.1.0, Culture=neutral, PublicKeyToken=33f2691a05b67b6a, processorArchitecture=MSIL">
48-
<SpecificVersion>False</SpecificVersion>
49-
<HintPath>..\packages\FluentAssertions.1.7.1.1\Lib\net40\FluentAssertions.dll</HintPath>
47+
<Reference Include="FluentAssertions">
48+
<HintPath>..\packages\FluentAssertions.2.0.0.1\lib\net40\FluentAssertions.dll</HintPath>
5049
</Reference>
51-
<Reference Include="nunit.framework, Version=2.5.7.10213, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">
52-
<SpecificVersion>False</SpecificVersion>
53-
<HintPath>..\lib\nunit\net-2.0\nunit.framework.dll</HintPath>
50+
<Reference Include="nunit.framework">
51+
<HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
5452
</Reference>
5553
<Reference Include="RestSharp, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
5654
<SpecificVersion>False</SpecificVersion>
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="Castle.Core" version="3.0.0.4001" />
4-
<package id="FluentAssertions" version="1.7.1.1" />
4+
<package id="FluentAssertions" version="2.0.0.1" targetFramework="net40" />
5+
<package id="NUnit" version="2.6.2" targetFramework="net40" />
56
<package id="RestSharp" version="103.0.0" />
67
<package id="structuremap" version="2.6.3" />
78
</packages>

csharp-github-api.Tests/csharp-github-api.Tests.csproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
</FileUpgradeFlags>
1717
<OldToolsVersion>3.5</OldToolsVersion>
1818
<UpgradeBackupLocation />
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>
@@ -37,6 +39,12 @@
3739
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
3840
</PropertyGroup>
3941
<ItemGroup>
42+
<Reference Include="FluentAssertions">
43+
<HintPath>..\packages\FluentAssertions.2.0.0.1\lib\net35\FluentAssertions.dll</HintPath>
44+
</Reference>
45+
<Reference Include="nunit.framework">
46+
<HintPath>..\packages\NUnit.2.6.2\lib\nunit.framework.dll</HintPath>
47+
</Reference>
4048
<Reference Include="System" />
4149
<Reference Include="System.Core">
4250
<RequiredTargetFramework>3.5</RequiredTargetFramework>
@@ -53,7 +61,11 @@
5361
<ItemGroup>
5462
<Compile Include="Properties\AssemblyInfo.cs" />
5563
</ItemGroup>
64+
<ItemGroup>
65+
<None Include="packages.config" />
66+
</ItemGroup>
5667
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
68+
<Import Project="$(SolutionDir)\.nuget\nuget.targets" />
5769
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
5870
Other similar extension points exist, see Microsoft.Common.targets.
5971
<Target Name="BeforeBuild">
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="FluentAssertions" version="2.0.0.1" targetFramework="net35" />
4+
<package id="NUnit" version="2.6.2" targetFramework="net35" />
5+
</packages>

csharp-github-api.sln

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11

2-
Microsoft Visual Studio Solution File, Format Version 11.00
3-
# Visual Studio 2010
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio 2012
44
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "csharp-github-api", "csharp-github-api\csharp-github-api.csproj", "{AC8795CC-BDFF-4D37-85EE-E17A7D5A8A59}"
55
EndProject
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "csharp-github-api.Tests", "csharp-github-api.Tests\csharp-github-api.Tests.csproj", "{16450E56-7802-4E7B-9F01-6A4824175B15}"
@@ -10,6 +10,7 @@ EndProject
1010
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{2FE975C2-5936-4F20-869D-48EC01639188}"
1111
ProjectSection(SolutionItems) = preProject
1212
LICENSE.txt = LICENSE.txt
13+
SolutionVersion.cs = SolutionVersion.cs
1314
EndProjectSection
1415
EndProject
1516
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".nuget", ".nuget", "{A399513F-82FF-4E02-94A0-6F7C76430C35}"

csharp-github-api/csharp-github-api.csproj

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@
3939
<CodeAnalysisRuleSet>AllRules.ruleset</CodeAnalysisRuleSet>
4040
</PropertyGroup>
4141
<ItemGroup>
42-
<Reference Include="Castle.Core, Version=3.0.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
42+
<Reference Include="Castle.Core, Version=3.1.0.0, Culture=neutral, PublicKeyToken=407dd0808d44fbdc, processorArchitecture=MSIL">
4343
<SpecificVersion>False</SpecificVersion>
44-
<HintPath>..\packages\Castle.Core.3.0.0.4001\lib\net35\Castle.Core.dll</HintPath>
44+
<HintPath>..\packages\Castle.Core.3.1.0\lib\net35\Castle.Core.dll</HintPath>
4545
</Reference>
46-
<Reference Include="RestSharp, Version=102.7.0.0, Culture=neutral, processorArchitecture=MSIL">
46+
<Reference Include="RestSharp, Version=104.1.0.0, Culture=neutral, processorArchitecture=MSIL">
4747
<SpecificVersion>False</SpecificVersion>
48-
<HintPath>..\packages\RestSharp.103.0.0\lib\net35\RestSharp.dll</HintPath>
48+
<HintPath>..\packages\RestSharp.104.1\lib\net35\RestSharp.dll</HintPath>
4949
</Reference>
5050
<Reference Include="System" />
5151
<Reference Include="System.Core">

csharp-github-api/packages.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
3-
<package id="Castle.Core" version="3.0.0.4001" />
4-
<package id="RestSharp" version="103.0.0" />
3+
<package id="Castle.Core" version="3.1.0" targetFramework="net35" />
4+
<package id="RestSharp" version="104.1" targetFramework="net35" />
55
</packages>

0 commit comments

Comments
 (0)