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

Commit a60c045

Browse files
committed
Upgrade DDLTest dep
1 parent 20e9c9f commit a60c045

File tree

4 files changed

+30
-3
lines changed

4 files changed

+30
-3
lines changed

src/ServiceStack.OrmLite.DDLTest/ServiceStack.OrmLite.DDLTest.csproj

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
<AssemblyName>ServiceStack.OrmLite.DDLTest</AssemblyName>
1212
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
1313
<TargetFrameworkProfile />
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>
@@ -41,16 +43,16 @@
4143
<Prefer32Bit>false</Prefer32Bit>
4244
</PropertyGroup>
4345
<ItemGroup>
46+
<Reference Include="MySql.Data">
47+
<HintPath>..\packages\MySql.Data.6.9.5\lib\net45\MySql.Data.dll</HintPath>
48+
</Reference>
4449
<Reference Include="System" />
4550
<Reference Include="nunit.framework">
4651
<HintPath>..\..\lib\tests\nunit.framework.dll</HintPath>
4752
</Reference>
4853
<Reference Include="FirebirdSql.Data.FirebirdClient">
4954
<HintPath>..\..\lib\FirebirdSql.Data.FirebirdClient.dll</HintPath>
5055
</Reference>
51-
<Reference Include="MySql.Data">
52-
<HintPath>..\..\lib\MySql.Data.dll</HintPath>
53-
</Reference>
5456
<Reference Include="ServiceStack.Common">
5557
<HintPath>..\..\lib\ServiceStack.Common.dll</HintPath>
5658
</Reference>
@@ -84,4 +86,15 @@
8486
<Name>ServiceStack.OrmLite.Firebird</Name>
8587
</ProjectReference>
8688
</ItemGroup>
89+
<ItemGroup>
90+
<None Include="app.config" />
91+
<None Include="packages.config" />
92+
</ItemGroup>
93+
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
94+
<Target Name="EnsureNuGetPackageBuildImports" BeforeTargets="PrepareForBuild">
95+
<PropertyGroup>
96+
<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>
97+
</PropertyGroup>
98+
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
99+
</Target>
87100
</Project>
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+
<configuration>
3+
<system.data>
4+
<DbProviderFactories>
5+
<remove invariant="MySql.Data.MySqlClient" />
6+
<add name="MySQL Data Provider" invariant="MySql.Data.MySqlClient" description=".Net Framework Data Provider for MySQL" type="MySql.Data.MySqlClient.MySqlClientFactory, MySql.Data, Version=6.9.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d" />
7+
</DbProviderFactories>
8+
</system.data>
9+
</configuration>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<packages>
3+
<package id="MySql.Data" version="6.9.5" targetFramework="net45" />
4+
</packages>

src/packages/repositories.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
<repository path="..\..\tests\ServiceStack.OrmLite.Sqlite.Windows.Tests\packages.config" />
44
<repository path="..\..\tests\ServiceStack.OrmLiteV45.Tests\packages.config" />
55
<repository path="..\FirebirdTests\TestSimpleFirebird02\packages.config" />
6+
<repository path="..\ServiceStack.OrmLite.DDLTest\packages.config" />
67
<repository path="..\ServiceStack.OrmLite.MySql.Tests\packages.config" />
78
<repository path="..\ServiceStack.OrmLite.MySql\packages.config" />
89
<repository path="..\ServiceStack.OrmLite.MySqlV45\packages.config" />

0 commit comments

Comments
 (0)