Skip to content

Commit 2059a4e

Browse files
committed
Adding packages to Tests project
1 parent 10853f7 commit 2059a4e

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

SSLLWrapper.Tests/SSLLWrapper.Tests.csproj

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AssemblyName>SSLLWrapper.Tests</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>
@@ -30,6 +32,24 @@
3032
<WarningLevel>4</WarningLevel>
3133
</PropertyGroup>
3234
<ItemGroup>
35+
<Reference Include="FluentAssertions">
36+
<HintPath>..\packages\FluentAssertions.3.2.2\lib\net45\FluentAssertions.dll</HintPath>
37+
</Reference>
38+
<Reference Include="FluentAssertions.Core">
39+
<HintPath>..\packages\FluentAssertions.3.2.2\lib\net45\FluentAssertions.Core.dll</HintPath>
40+
</Reference>
41+
<Reference Include="FluentTests.Framework">
42+
<HintPath>..\packages\FluentTests.1.1.1\lib\FluentTests.Framework.dll</HintPath>
43+
</Reference>
44+
<Reference Include="Moq">
45+
<HintPath>..\packages\Moq.4.2.1409.1722\lib\net40\Moq.dll</HintPath>
46+
</Reference>
47+
<Reference Include="nunit.framework">
48+
<HintPath>..\packages\NUnit.2.6.4\lib\nunit.framework.dll</HintPath>
49+
</Reference>
50+
<Reference Include="NUnit.Should">
51+
<HintPath>..\packages\NUnit.Should.1.0.2.0\lib\NET30\NUnit.Should.dll</HintPath>
52+
</Reference>
3353
<Reference Include="System" />
3454
<Reference Include="System.Core" />
3555
<Reference Include="System.Xml.Linq" />
@@ -42,7 +62,18 @@
4262
<Compile Include="Class1.cs" />
4363
<Compile Include="Properties\AssemblyInfo.cs" />
4464
</ItemGroup>
65+
<ItemGroup>
66+
<None Include="app.config" />
67+
<None Include="packages.config" />
68+
</ItemGroup>
4569
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
70+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
71+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
72+
<PropertyGroup>
73+
<ErrorText>This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.</ErrorText>
74+
</PropertyGroup>
75+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
76+
</Target>
4677
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
4778
Other similar extension points exist, see Microsoft.Common.targets.
4879
<Target Name="BeforeBuild">

SSLLWrapper.Tests/app.config

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<configuration>
3+
<runtime>
4+
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
5+
<dependentAssembly>
6+
<assemblyIdentity name="Moq" publicKeyToken="69f491c39445e920" culture="neutral" />
7+
<bindingRedirect oldVersion="0.0.0.0-4.2.1409.1722" newVersion="4.2.1409.1722" />
8+
</dependentAssembly>
9+
<dependentAssembly>
10+
<assemblyIdentity name="nunit.framework" publicKeyToken="96d09a1eb7f44a77" culture="neutral" />
11+
<bindingRedirect oldVersion="0.0.0.0-2.6.4.14350" newVersion="2.6.4.14350" />
12+
</dependentAssembly>
13+
</assemblyBinding>
14+
</runtime>
15+
</configuration>

SSLLWrapper.Tests/packages.config

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="FluentAssertions" version="3.2.2" targetFramework="net45" />
4+
<package id="FluentTests" version="1.1.1" targetFramework="net45" />
5+
<package id="FluentTests.NUnit" version="1.1.2" targetFramework="net45" />
6+
<package id="Moq" version="4.2.1409.1722" targetFramework="net45" />
7+
<package id="NUnit" version="2.6.4" targetFramework="net45" />
8+
<package id="NUnit.Should" version="1.0.2.0" targetFramework="net45" />
9+
</packages>

0 commit comments

Comments
 (0)