Skip to content

Commit 2879cd9

Browse files
committed
Fix nuget build
1 parent 57e7350 commit 2879cd9

File tree

5 files changed

+6
-22
lines changed

5 files changed

+6
-22
lines changed

Directory.Build.props

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
<Company>Krueger Systems, Inc.</Company>
1313

1414
<Deterministic>true</Deterministic>
15+
16+
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
1517
</PropertyGroup>
1618
<ItemGroup>
1719
<None Include="..\Logo-low.png" Pack="true" PackagePath=""/>

nuget/SQLite-net-base/SQLite-net-base.csproj

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,17 @@
1010
It is meant to give you all the power of SQLite-net but with the freedom to choose your own provider.
1111
Please use the package sqlite-net-pcl if you have no idea what any of this means.
1212
</Description>
13-
14-
<Configurations>Release;Debug</Configurations>
1513
</PropertyGroup>
1614

1715
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<DebugSymbols>false</DebugSymbols>
19-
<DebugType></DebugType>
2016
<DefineConstants>USE_SQLITEPCL_RAW;NO_SQLITEPCL_RAW_BATTERIES;RELEASE</DefineConstants>
21-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2217
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
2318
</PropertyGroup>
2419
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2520
<DefineConstants>USE_SQLITEPCL_RAW;NO_SQLITEPCL_RAW_BATTERIES;DEBUG</DefineConstants>
26-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2721
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
2822
</PropertyGroup>
23+
2924
<ItemGroup>
3025
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.2" />
3126
</ItemGroup>

nuget/SQLite-net-sqlcipher/SQLite-net-sqlcipher.csproj

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,17 @@
1111
This enables secure access to the database with password (key) access.
1212
</Description>
1313
<PackageTags>sqlite-net;sqlite;database;orm;encryption;sqlcipher</PackageTags>
14-
<Configurations>Release;Debug</Configurations>
1514
</PropertyGroup>
1615

1716
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<DebugSymbols>false</DebugSymbols>
19-
<DebugType></DebugType>
2017
<DefineConstants>USE_SQLITEPCL_RAW;RELEASE</DefineConstants>
21-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2218
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
2319
</PropertyGroup>
2420
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2521
<DefineConstants>USE_SQLITEPCL_RAW;DEBUG</DefineConstants>
26-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2722
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
2823
</PropertyGroup>
24+
2925
<ItemGroup>
3026
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.2" />
3127
</ItemGroup>

nuget/SQLite-net-static/SQLite-net-static.csproj

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,17 @@
1010
This version uses P/Invokes to the "sqlite3" native library provided by the operating system.
1111
This works on Xamarin.iOS, Xamarin.Mac, Wilderness Labs' Meadow, and any other platform that has a "sqlite3" library in the path.
1212
</Description>
13-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
14-
<Configurations>Release;Debug</Configurations>
1513
</PropertyGroup>
1614

1715
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<DebugSymbols>false</DebugSymbols>
19-
<DebugType></DebugType>
2016
<DefineConstants>RELEASE</DefineConstants>
2117
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
2218
</PropertyGroup>
2319
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2420
<DefineConstants>DEBUG</DefineConstants>
2521
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
2622
</PropertyGroup>
23+
2724
<ItemGroup>
2825
<Compile Include="..\..\src\SQLite.cs">
2926
<Link>SQLite.cs</Link>

nuget/SQLite-net-std/SQLite-net-std.csproj

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,18 @@
88
<Description>
99
SQLite-net is an open source and light weight library providing easy SQLite database storage for .NET, Mono, and Xamarin applications.
1010
This version uses SQLitePCLRaw to provide platform independent versions of SQLite.
11-
1211
</Description>
13-
14-
<Configurations>Release;Debug</Configurations>
1512
</PropertyGroup>
1613

1714
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
18-
<DebugSymbols>false</DebugSymbols>
19-
<DebugType></DebugType>
2015
<DefineConstants>USE_SQLITEPCL_RAW;RELEASE</DefineConstants>
21-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2216
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
2317
</PropertyGroup>
2418
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
2519
<DefineConstants>USE_SQLITEPCL_RAW;DEBUG</DefineConstants>
26-
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
2720
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
2821
</PropertyGroup>
22+
2923
<ItemGroup>
3024
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.2" />
3125
</ItemGroup>

0 commit comments

Comments
 (0)