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

Commit dc48a3f

Browse files
committed
Fix Sqlite.Windows.Tests build
1 parent d8f6e1b commit dc48a3f

File tree

3 files changed

+15
-12
lines changed

3 files changed

+15
-12
lines changed

src/ServiceStack.OrmLite.Sqlite.Windows/ServiceStack.OrmLite.Sqlite.Windows.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<DefineConstants>DEBUG;TRACE</DefineConstants>
2424
<ErrorReport>prompt</ErrorReport>
2525
<WarningLevel>4</WarningLevel>
26+
<Prefer32Bit>false</Prefer32Bit>
2627
</PropertyGroup>
2728
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
2829
<DebugType>pdbonly</DebugType>
@@ -31,12 +32,14 @@
3132
<DefineConstants>TRACE</DefineConstants>
3233
<ErrorReport>prompt</ErrorReport>
3334
<WarningLevel>4</WarningLevel>
35+
<Prefer32Bit>false</Prefer32Bit>
3436
</PropertyGroup>
3537
<PropertyGroup Condition="'$(Configuration)|$(Platform)' == 'Signed|AnyCPU'">
3638
<OutputPath>bin\Signed\</OutputPath>
3739
<PlatformTarget>AnyCPU</PlatformTarget>
3840
<ErrorReport>prompt</ErrorReport>
3941
<CodeAnalysisRuleSet>MinimumRecommendedRules.ruleset</CodeAnalysisRuleSet>
42+
<Prefer32Bit>false</Prefer32Bit>
4043
</PropertyGroup>
4144
<ItemGroup>
4245
<Reference Include="ServiceStack.Interfaces">

tests/ServiceStack.OrmLite.Sqlite.Windows.Tests/ServiceStack.OrmLite.Sqlite.Windows.Tests.csproj

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,13 @@
4444
<Reference Include="ServiceStack.Interfaces">
4545
<HintPath>..\..\lib\ServiceStack.Interfaces.dll</HintPath>
4646
</Reference>
47-
<Reference Include="ServiceStack.OrmLite">
48-
<HintPath>..\..\lib\tests\ServiceStack.OrmLite.dll</HintPath>
49-
</Reference>
5047
<Reference Include="ServiceStack.Text">
5148
<HintPath>..\..\lib\ServiceStack.Text.dll</HintPath>
5249
</Reference>
5350
<Reference Include="System" />
5451
<Reference Include="System.Core" />
55-
<Reference Include="System.Data.SQLite, Version=1.0.94.0, Culture=neutral, PublicKeyToken=db937bc2d44ff139, processorArchitecture=MSIL">
56-
<SpecificVersion>False</SpecificVersion>
57-
<HintPath>..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\lib\net451\System.Data.SQLite.dll</HintPath>
52+
<Reference Include="System.Data.SQLite">
53+
<HintPath>..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\lib\net45\System.Data.SQLite.dll</HintPath>
5854
</Reference>
5955
<Reference Include="System.Xml.Linq" />
6056
<Reference Include="System.Data.DataSetExtensions" />
@@ -75,14 +71,18 @@
7571
<Compile Include="Properties\AssemblyInfo.cs" />
7672
<Compile Include="UseCase\NullableDateTimeOffset.cs" />
7773
</ItemGroup>
78-
<ItemGroup>
79-
<None Include="packages.config" />
80-
</ItemGroup>
8174
<ItemGroup>
8275
<ProjectReference Include="..\..\src\ServiceStack.OrmLite.Sqlite.Windows\ServiceStack.OrmLite.Sqlite.Windows.csproj">
8376
<Project>{a5541444-70ee-4b5e-8a5f-c7d8a0048ebe}</Project>
8477
<Name>ServiceStack.OrmLite.Sqlite.Windows</Name>
8578
</ProjectReference>
79+
<ProjectReference Include="..\..\src\ServiceStack.OrmLite\ServiceStack.OrmLite.csproj">
80+
<Project>{96179ac6-f6f1-40c3-9fdd-4f6582f54c5c}</Project>
81+
<Name>ServiceStack.OrmLite</Name>
82+
</ProjectReference>
83+
</ItemGroup>
84+
<ItemGroup>
85+
<None Include="packages.config" />
8686
</ItemGroup>
8787
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
8888
<Import Project="$(SolutionDir)\.nuget\NuGet.targets" Condition="Exists('$(SolutionDir)\.nuget\NuGet.targets')" />
@@ -91,9 +91,9 @@
9191
<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>
9292
</PropertyGroup>
9393
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
94-
<Error Condition="!Exists('..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net451\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net451\System.Data.SQLite.Core.targets'))" />
94+
<Error Condition="!Exists('..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net45\System.Data.SQLite.Core.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net45\System.Data.SQLite.Core.targets'))" />
9595
</Target>
96-
<Import Project="..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net451\System.Data.SQLite.Core.targets" Condition="Exists('..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net451\System.Data.SQLite.Core.targets')" />
96+
<Import Project="..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net45\System.Data.SQLite.Core.targets" Condition="Exists('..\..\src\packages\System.Data.SQLite.Core.1.0.94.0\build\net45\System.Data.SQLite.Core.targets')" />
9797
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
9898
Other similar extension points exist, see Microsoft.Common.targets.
9999
<Target Name="BeforeBuild">
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<packages>
33
<package id="NUnit" version="2.6.3" targetFramework="net45" />
4-
<package id="System.Data.SQLite.Core" version="1.0.94.0" targetFramework="net451" requireReinstallation="True" />
4+
<package id="System.Data.SQLite.Core" version="1.0.94.0" targetFramework="net45" />
55
</packages>

0 commit comments

Comments
 (0)