Skip to content

Commit 5add506

Browse files
committed
Add Npgsql to CheckWeb as now needs System.Threading.Tasks.Extensions"
1 parent 3c41d82 commit 5add506

File tree

3 files changed

+15
-9
lines changed

3 files changed

+15
-9
lines changed

tests/CheckWeb/CheckWeb.csproj

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@
4040
</PropertyGroup>
4141
<ItemGroup>
4242
<Reference Include="Microsoft.CSharp" />
43+
<Reference Include="Npgsql, Version=3.2.2.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7, processorArchitecture=MSIL">
44+
<HintPath>..\..\src\packages\Npgsql.3.2.2\lib\net45\Npgsql.dll</HintPath>
45+
<Private>True</Private>
46+
</Reference>
4347
<Reference Include="ServiceStack.Admin">
4448
<HintPath>..\..\lib\tests\ServiceStack.Admin.dll</HintPath>
4549
</Reference>
@@ -63,22 +67,18 @@
6367
</Reference>
6468
<Reference Include="System.Net" />
6569
<Reference Include="System.Runtime.Serialization" />
66-
<Reference Include="System.Web.DynamicData" />
67-
<Reference Include="System.Web.Entity" />
68-
<Reference Include="System.Web.ApplicationServices" />
6970
<Reference Include="System.ComponentModel.DataAnnotations" />
7071
<Reference Include="System" />
7172
<Reference Include="System.Data" />
7273
<Reference Include="System.Core" />
73-
<Reference Include="System.Data.DataSetExtensions" />
74-
<Reference Include="System.Web.Extensions" />
75-
<Reference Include="System.Xml.Linq" />
7674
<Reference Include="System.Drawing" />
75+
<Reference Include="System.Threading.Tasks.Extensions, Version=4.1.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
76+
<HintPath>..\..\src\packages\System.Threading.Tasks.Extensions.4.3.0\lib\portable-net45+win8+wp8+wpa81\System.Threading.Tasks.Extensions.dll</HintPath>
77+
<Private>True</Private>
78+
</Reference>
7779
<Reference Include="System.Web" />
7880
<Reference Include="System.Xml" />
7981
<Reference Include="System.Configuration" />
80-
<Reference Include="System.Web.Services" />
81-
<Reference Include="System.EnterpriseServices" />
8282
</ItemGroup>
8383
<ItemGroup>
8484
<Content Include="..\..\lib\sqlite3.dll">
@@ -138,6 +138,7 @@
138138
<Content Include="Views\TestHtml.cshtml">
139139
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
140140
</Content>
141+
<Content Include="packages.config" />
141142
<None Include="Web.Debug.config">
142143
<DependentUpon>Web.config</DependentUpon>
143144
</None>

tests/CheckWeb/Global.asax.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ public override void Configure(Container container)
140140
// Configure ServiceStack Razor views.
141141
this.ConfigureView(container);
142142

143-
//this.StartUpErrors.Add(new ResponseStatus("Mock", "Startup Error"));
143+
this.StartUpErrors.Add(new ResponseStatus("Mock", "Startup Error"));
144144
}
145145

146146
public static Rockstar[] GetRockstars()

tests/CheckWeb/packages.config

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="Npgsql" version="3.2.2" targetFramework="net45" />
4+
<package id="System.Threading.Tasks.Extensions" version="4.3.0" targetFramework="net45" />
5+
</packages>

0 commit comments

Comments
 (0)