Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit 808b2e0

Browse files
committed
Upgrade test projects to .NET 4.0 to match ServiceStack.Common.Tests project
1 parent 8601d03 commit 808b2e0

File tree

20 files changed

+346
-307
lines changed

20 files changed

+346
-307
lines changed
Lines changed: 117 additions & 116 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,124 @@
1-
<?xml version="1.0" encoding="utf-8"?>
2-
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3-
<PropertyGroup>
4-
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5-
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6-
<ProductVersion>8.0.30703</ProductVersion>
7-
<SchemaVersion>2.0</SchemaVersion>
8-
<ProjectGuid>{E692B423-82E9-46DE-AA80-F4E36A4B4D56}</ProjectGuid>
9-
<OutputType>Library</OutputType>
10-
<AppDesignerFolder>Properties</AppDesignerFolder>
11-
<RootNamespace>ServiceStack.OrmLite.PostgreSQL.Tests</RootNamespace>
12-
<AssemblyName>ServiceStack.OrmLite.PostgreSQL.Tests</AssemblyName>
13-
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
14-
<FileAlignment>512</FileAlignment>
15-
</PropertyGroup>
16-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
17-
<DebugSymbols>true</DebugSymbols>
18-
<DebugType>full</DebugType>
19-
<Optimize>false</Optimize>
20-
<OutputPath>bin\Debug\</OutputPath>
21-
<DefineConstants>DEBUG;TRACE</DefineConstants>
22-
<ErrorReport>prompt</ErrorReport>
23-
<WarningLevel>4</WarningLevel>
24-
</PropertyGroup>
25-
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
26-
<DebugType>pdbonly</DebugType>
27-
<Optimize>true</Optimize>
28-
<OutputPath>bin\Release\</OutputPath>
29-
<DefineConstants>TRACE</DefineConstants>
30-
<ErrorReport>prompt</ErrorReport>
31-
<WarningLevel>4</WarningLevel>
32-
</PropertyGroup>
33-
<ItemGroup>
34-
<Reference Include="Northwind.Perf">
35-
<HintPath>..\..\lib\tests\Northwind.Perf.dll</HintPath>
36-
</Reference>
37-
<Reference Include="Npgsql">
38-
<HintPath>..\..\lib\Npgsql.dll</HintPath>
39-
</Reference>
40-
<Reference Include="ServiceStack.Common">
41-
<HintPath>..\..\lib\ServiceStack.Common.dll</HintPath>
42-
</Reference>
43-
<Reference Include="ServiceStack.Common.Tests">
44-
<HintPath>..\..\lib\tests\ServiceStack.Common.Tests.dll</HintPath>
45-
</Reference>
46-
<Reference Include="ServiceStack.Interfaces">
47-
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
48-
</Reference>
49-
<Reference Include="System" />
50-
<Reference Include="System.ComponentModel.DataAnnotations" />
51-
<Reference Include="System.Core" />
52-
<Reference Include="System.Xml.Linq" />
53-
<Reference Include="System.Data.DataSetExtensions" />
54-
<Reference Include="System.Data" />
55-
<Reference Include="System.Xml" />
56-
<Reference Include="Northwind.Common">
57-
<HintPath>..\..\lib\tests\Northwind.Common.dll</HintPath>
58-
</Reference>
59-
<Reference Include="nunit.framework">
60-
<HintPath>..\..\lib\tests\nunit.framework.dll</HintPath>
61-
</Reference>
62-
<Reference Include="ServiceStack.Text">
63-
<HintPath>..\..\lib\ServiceStack.Text.dll</HintPath>
64-
</Reference>
65-
<Reference Include="System.Configuration" />
66-
</ItemGroup>
67-
<ItemGroup>
68-
<Compile Include="..\GlobalAssemblyInfo.cs">
69-
<Link>Properties\GlobalAssemblyInfo.cs</Link>
70-
</Compile>
71-
<Compile Include="CreatePostgreSQLTablesTests.cs" />
72-
<Compile Include="EnumTests.cs" />
73-
<Compile Include="Expressions\AdditiveExpressionsTest.cs" />
74-
<Compile Include="Expressions\Author.cs" />
75-
<Compile Include="Expressions\AuthorUseCase.cs" />
76-
<Compile Include="Expressions\ConditionalExpressionTest.cs" />
77-
<Compile Include="Expressions\EqualityExpressionsTest.cs" />
78-
<Compile Include="Expressions\ExpressionsTestBase.cs" />
79-
<Compile Include="Expressions\LogicalExpressionsTest.cs" />
80-
<Compile Include="Expressions\MultiplicativeExpressionsTest.cs" />
81-
<Compile Include="Expressions\OrmLiteCountTests.cs" />
82-
<Compile Include="Expressions\PrimaryExpressionsTest.cs" />
83-
<Compile Include="Expressions\RelationalExpressionsTest.cs" />
84-
<Compile Include="Expressions\StringFunctionTests.cs" />
85-
<Compile Include="Expressions\TestType.cs" />
86-
<Compile Include="Expressions\UnaryExpressionsTest.cs" />
87-
<Compile Include="ForeignKeyAttributeTests.cs" />
88-
<Compile Include="NorthwindPerfTests.cs" />
89-
<Compile Include="OrmLiteBasicPersistenceProviderTests.cs" />
90-
<Compile Include="OrmLiteCreateTableWithNamigStrategyTests.cs" />
91-
<Compile Include="OrmLiteInsertTests.cs" />
92-
<Compile Include="OrmLiteNorthwindTests.cs" />
93-
<Compile Include="OrmLiteSelectTests.cs" />
94-
<Compile Include="OrmLiteTestBase.cs" />
95-
<Compile Include="Properties\AssemblyInfo.cs" />
96-
<Compile Include="OrmLiteGetScalarTests.cs" />
97-
<Compile Include="SchemaTests.cs" />
98-
<Compile Include="TypeWithByteArrayFieldTests.cs" />
99-
</ItemGroup>
100-
<ItemGroup>
101-
<None Include="app.config">
102-
<SubType>Designer</SubType>
103-
</None>
104-
</ItemGroup>
105-
<ItemGroup>
106-
<ProjectReference Include="..\ServiceStack.OrmLite.PostgreSQL\ServiceStack.OrmLite.PostgreSQL.csproj">
107-
<Project>{3220F088-BDD0-6979-AC0C-8C541C2E7DE5}</Project>
108-
<Name>ServiceStack.OrmLite.PostgreSQL</Name>
109-
</ProjectReference>
110-
<ProjectReference Include="..\ServiceStack.OrmLite\ServiceStack.OrmLite.csproj">
111-
<Project>{96179AC6-F6F1-40C3-9FDD-4F6582F54C5C}</Project>
112-
<Name>ServiceStack.OrmLite</Name>
113-
</ProjectReference>
114-
</ItemGroup>
115-
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<PropertyGroup>
4+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
5+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
6+
<ProductVersion>8.0.30703</ProductVersion>
7+
<SchemaVersion>2.0</SchemaVersion>
8+
<ProjectGuid>{E692B423-82E9-46DE-AA80-F4E36A4B4D56}</ProjectGuid>
9+
<OutputType>Library</OutputType>
10+
<AppDesignerFolder>Properties</AppDesignerFolder>
11+
<RootNamespace>ServiceStack.OrmLite.PostgreSQL.Tests</RootNamespace>
12+
<AssemblyName>ServiceStack.OrmLite.PostgreSQL.Tests</AssemblyName>
13+
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
14+
<FileAlignment>512</FileAlignment>
15+
<TargetFrameworkProfile />
16+
</PropertyGroup>
17+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
18+
<DebugSymbols>true</DebugSymbols>
19+
<DebugType>full</DebugType>
20+
<Optimize>false</Optimize>
21+
<OutputPath>bin\Debug\</OutputPath>
22+
<DefineConstants>DEBUG;TRACE</DefineConstants>
23+
<ErrorReport>prompt</ErrorReport>
24+
<WarningLevel>4</WarningLevel>
25+
</PropertyGroup>
26+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
27+
<DebugType>pdbonly</DebugType>
28+
<Optimize>true</Optimize>
29+
<OutputPath>bin\Release\</OutputPath>
30+
<DefineConstants>TRACE</DefineConstants>
31+
<ErrorReport>prompt</ErrorReport>
32+
<WarningLevel>4</WarningLevel>
33+
</PropertyGroup>
34+
<ItemGroup>
35+
<Reference Include="Northwind.Perf">
36+
<HintPath>..\..\lib\tests\Northwind.Perf.dll</HintPath>
37+
</Reference>
38+
<Reference Include="Npgsql">
39+
<HintPath>..\..\lib\Npgsql.dll</HintPath>
40+
</Reference>
41+
<Reference Include="ServiceStack.Common">
42+
<HintPath>..\..\lib\ServiceStack.Common.dll</HintPath>
43+
</Reference>
44+
<Reference Include="ServiceStack.Common.Tests">
45+
<HintPath>..\..\lib\tests\ServiceStack.Common.Tests.dll</HintPath>
46+
</Reference>
47+
<Reference Include="ServiceStack.Interfaces">
48+
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
49+
</Reference>
50+
<Reference Include="System" />
51+
<Reference Include="System.ComponentModel.DataAnnotations" />
52+
<Reference Include="System.Core" />
53+
<Reference Include="System.Xml.Linq" />
54+
<Reference Include="System.Data.DataSetExtensions" />
55+
<Reference Include="System.Data" />
56+
<Reference Include="System.Xml" />
57+
<Reference Include="Northwind.Common">
58+
<HintPath>..\..\lib\tests\Northwind.Common.dll</HintPath>
59+
</Reference>
60+
<Reference Include="nunit.framework">
61+
<HintPath>..\..\lib\tests\nunit.framework.dll</HintPath>
62+
</Reference>
63+
<Reference Include="ServiceStack.Text">
64+
<HintPath>..\..\lib\ServiceStack.Text.dll</HintPath>
65+
</Reference>
66+
<Reference Include="System.Configuration" />
67+
</ItemGroup>
68+
<ItemGroup>
69+
<Compile Include="..\GlobalAssemblyInfo.cs">
70+
<Link>Properties\GlobalAssemblyInfo.cs</Link>
71+
</Compile>
72+
<Compile Include="CreatePostgreSQLTablesTests.cs" />
73+
<Compile Include="EnumTests.cs" />
74+
<Compile Include="Expressions\AdditiveExpressionsTest.cs" />
75+
<Compile Include="Expressions\Author.cs" />
76+
<Compile Include="Expressions\AuthorUseCase.cs" />
77+
<Compile Include="Expressions\ConditionalExpressionTest.cs" />
78+
<Compile Include="Expressions\EqualityExpressionsTest.cs" />
79+
<Compile Include="Expressions\ExpressionsTestBase.cs" />
80+
<Compile Include="Expressions\LogicalExpressionsTest.cs" />
81+
<Compile Include="Expressions\MultiplicativeExpressionsTest.cs" />
82+
<Compile Include="Expressions\OrmLiteCountTests.cs" />
83+
<Compile Include="Expressions\PrimaryExpressionsTest.cs" />
84+
<Compile Include="Expressions\RelationalExpressionsTest.cs" />
85+
<Compile Include="Expressions\StringFunctionTests.cs" />
86+
<Compile Include="Expressions\TestType.cs" />
87+
<Compile Include="Expressions\UnaryExpressionsTest.cs" />
88+
<Compile Include="ForeignKeyAttributeTests.cs" />
89+
<Compile Include="NorthwindPerfTests.cs" />
90+
<Compile Include="OrmLiteBasicPersistenceProviderTests.cs" />
91+
<Compile Include="OrmLiteCreateTableWithNamigStrategyTests.cs" />
92+
<Compile Include="OrmLiteInsertTests.cs" />
93+
<Compile Include="OrmLiteNorthwindTests.cs" />
94+
<Compile Include="OrmLiteSelectTests.cs" />
95+
<Compile Include="OrmLiteTestBase.cs" />
96+
<Compile Include="Properties\AssemblyInfo.cs" />
97+
<Compile Include="OrmLiteGetScalarTests.cs" />
98+
<Compile Include="SchemaTests.cs" />
99+
<Compile Include="TypeWithByteArrayFieldTests.cs" />
100+
</ItemGroup>
101+
<ItemGroup>
102+
<None Include="app.config">
103+
<SubType>Designer</SubType>
104+
</None>
105+
</ItemGroup>
106+
<ItemGroup>
107+
<ProjectReference Include="..\ServiceStack.OrmLite.PostgreSQL\ServiceStack.OrmLite.PostgreSQL.csproj">
108+
<Project>{3220F088-BDD0-6979-AC0C-8C541C2E7DE5}</Project>
109+
<Name>ServiceStack.OrmLite.PostgreSQL</Name>
110+
</ProjectReference>
111+
<ProjectReference Include="..\ServiceStack.OrmLite\ServiceStack.OrmLite.csproj">
112+
<Project>{96179AC6-F6F1-40C3-9FDD-4F6582F54C5C}</Project>
113+
<Name>ServiceStack.OrmLite</Name>
114+
</ProjectReference>
115+
</ItemGroup>
116+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
116117
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
117118
Other similar extension points exist, see Microsoft.Common.targets.
118119
<Target Name="BeforeBuild">
119120
</Target>
120121
<Target Name="AfterBuild">
121122
</Target>
122-
-->
123+
-->
123124
</Project>

src/ServiceStack.OrmLite.PostgreSQL.Tests/app.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
<add name="Npgsql Data Provider" invariant="Npgsql" support="FF" description=".Net Framework Data Provider for Postgresql Server" type="Npgsql.NpgsqlFactory, Npgsql, Version=2.0.11.00, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7"/>
1111
</DbProviderFactories>
1212
</system.data>
13-
<startup><supportedRuntime version="v2.0.50727"/></startup></configuration>
13+
<startup><supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/></startup></configuration>

src/ServiceStack.OrmLite.SqlServer/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Microsoft")]
1212
[assembly: AssemblyProduct("ServiceStack.OrmLite.SqlServer")]
13-
[assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
13+
[assembly: AssemblyCopyright("Copyright © ServiceStack 2013")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

src/ServiceStack.OrmLite.SqlServerTests/Properties/AssemblyInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Microsoft")]
1212
[assembly: AssemblyProduct("ServiceStack.OrmLite.SqlServerTests")]
13-
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]
13+
[assembly: AssemblyCopyright("Copyright © ServiceStack 2013")]
1414
[assembly: AssemblyTrademark("")]
1515
[assembly: AssemblyCulture("")]
1616

src/ServiceStack.OrmLite.Sqlite/Properties/AssemblyInfo.cs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,12 @@
99
[assembly: AssemblyDescription("")]
1010
[assembly: AssemblyConfiguration("")]
1111
[assembly: AssemblyCompany("Microsoft")]
12-
[assembly: AssemblyProduct("ServiceStack.OrmLite.Sqlite")]
13-
[assembly: AssemblyCopyright("Copyright © Microsoft 2009")]
12+
#if NET35
13+
[assembly: AssemblyProduct("ServiceStack.OrmLite.Sqlite CLI 3.5")]
14+
#elif NET40
15+
[assembly: AssemblyProduct("ServiceStack.OrmLite.Sqlite CLI 4.0")]
16+
#endif
17+
[assembly: AssemblyCopyright("Copyright © ServiceStack 2013")]
1418
[assembly: AssemblyTrademark("")]
1519
[assembly: AssemblyCulture("")]
1620

0 commit comments

Comments
 (0)