mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Let's be Mono friendly
This is a massive overhaul that replaces System.Data.SQLite with Mono.Data.Sqlite. This should make it more compatible with Linux and Mac and has no known downsides for Windows.
This commit is contained in:
27
packages/Mono.Data.Sqlite.Portable.1.0.3.5/tools/Mono.Data.Sqlite.Portable.targets
vendored
Normal file
27
packages/Mono.Data.Sqlite.Portable.1.0.3.5/tools/Mono.Data.Sqlite.Portable.targets
vendored
Normal file
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
|
||||
<PropertyGroup>
|
||||
<MonoDataSqlitePortableImported>true</MonoDataSqlitePortableImported>
|
||||
</PropertyGroup>
|
||||
|
||||
<!--
|
||||
Currently, if 'MonoDataSqlitePortableHardware' == '', then skip the hardware specific assemblies.
|
||||
This may be required at a later stage for other types of devices or platforms.
|
||||
-->
|
||||
|
||||
<!-- reference paths -->
|
||||
<PropertyGroup Condition="'$(MonoDataSqlitePortableHardware)' != ''">
|
||||
<MonoDataSqlitePortablePath Condition="'$(Platform)' == 'x86'">$(MonoDataSqlitePortableHardware)-x86</MonoDataSqlitePortablePath>
|
||||
<MonoDataSqlitePortablePath Condition="'$(Platform)' == 'ARM'">$(MonoDataSqlitePortableHardware)-arm</MonoDataSqlitePortablePath>
|
||||
</PropertyGroup>
|
||||
|
||||
<!-- references -->
|
||||
<ItemGroup Condition="'$(MonoDataSqlitePortablePath)' != ''">
|
||||
<Reference Include="Mono.Data.Sqlite">
|
||||
<SpecificVersion>False</SpecificVersion>
|
||||
<HintPath>$(MSBuildThisFileDirectory)lib\$(MonoDataSqlitePortablePath)\Mono.Data.Sqlite.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
Reference in New Issue
Block a user