Skip to content

Commit f44235b

Browse files
committed
tests: Fix WinRT tests, add sqlite-native nuget
1 parent 731e21a commit f44235b

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

tests/SQLite.Net.Tests.WinRT/SQLite.Net.Tests.WinRT.csproj

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,9 @@
112112
</PropertyGroup>
113113
<ItemGroup>
114114
<!--A reference to the entire .Net Framework and Windows SDK are automatically included-->
115+
<SDKReference Include="Microsoft.VCLibs, version=12.0">
116+
<Name>Microsoft Visual C++ 2013 Runtime Package for Windows</Name>
117+
</SDKReference>
115118
<SDKReference Include="TestPlatform, Version=11.0" />
116119
</ItemGroup>
117120
<ItemGroup>
@@ -141,6 +144,7 @@
141144
<Content Include="Images\UnitTestStoreLogo.scale-100.png">
142145
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
143146
</Content>
147+
<Content Include="sqlite.txt" />
144148
</ItemGroup>
145149
<ItemGroup>
146150
<Reference Include="Microsoft.Threading.Tasks, Version=1.0.12.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
@@ -189,8 +193,10 @@
189193
</PropertyGroup>
190194
<Error Condition="!Exists('$(SolutionDir)\.nuget\NuGet.targets')" Text="$([System.String]::Format('$(ErrorText)', '$(SolutionDir)\.nuget\NuGet.targets'))" />
191195
<Error Condition="!Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets'))" />
196+
<Error Condition="!Exists('..\..\packages\sqlite-native.3.8.8.1\build\win8\sqlite-native.targets')" Text="$([System.String]::Format('$(ErrorText)', '..\..\packages\sqlite-native.3.8.8.1\build\win8\sqlite-native.targets'))" />
192197
</Target>
193198
<Import Project="..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets" Condition="Exists('..\..\packages\Microsoft.Bcl.Build.1.0.21\build\Microsoft.Bcl.Build.targets')" />
199+
<Import Project="..\..\packages\sqlite-native.3.8.8.1\build\win8\sqlite-native.targets" Condition="Exists('..\..\packages\sqlite-native.3.8.8.1\build\win8\sqlite-native.targets')" />
194200
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
195201
Other similar extension points exist, see Microsoft.Common.targets.
196202
<Target Name="BeforeBuild">

tests/SQLite.Net.Tests.WinRT/packages.config

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,5 @@
55
<package id="Microsoft.Bcl.Build" version="1.0.21" targetFramework="win81" />
66
<package id="NUnit" version="2.6.4" targetFramework="win81" />
77
<package id="PCLStorage" version="1.0.2" targetFramework="win81" />
8+
<package id="sqlite-native" version="3.8.8.1" targetFramework="win81" />
89
</packages>

0 commit comments

Comments
 (0)