Skip to content

Commit

Permalink
Fix nuget build
Browse files Browse the repository at this point in the history
  • Loading branch information
praeclarum committed Mar 27, 2024
1 parent 57e7350 commit 2879cd9
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 22 deletions.
2 changes: 2 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@
<Company>Krueger Systems, Inc.</Company>

<Deterministic>true</Deterministic>

<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<None Include="..\Logo-low.png" Pack="true" PackagePath=""/>
Expand Down
7 changes: 1 addition & 6 deletions nuget/SQLite-net-base/SQLite-net-base.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,17 @@
It is meant to give you all the power of SQLite-net but with the freedom to choose your own provider.
Please use the package sqlite-net-pcl if you have no idea what any of this means.
</Description>

<Configurations>Release;Debug</Configurations>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<DebugType></DebugType>
<DefineConstants>USE_SQLITEPCL_RAW;NO_SQLITEPCL_RAW_BATTERIES;RELEASE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DefineConstants>USE_SQLITEPCL_RAW;NO_SQLITEPCL_RAW_BATTERIES;DEBUG</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SQLitePCLRaw.core" Version="2.1.2" />
</ItemGroup>
Expand Down
6 changes: 1 addition & 5 deletions nuget/SQLite-net-sqlcipher/SQLite-net-sqlcipher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,17 @@
This enables secure access to the database with password (key) access.
</Description>
<PackageTags>sqlite-net;sqlite;database;orm;encryption;sqlcipher</PackageTags>
<Configurations>Release;Debug</Configurations>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<DebugType></DebugType>
<DefineConstants>USE_SQLITEPCL_RAW;RELEASE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DefineConstants>USE_SQLITEPCL_RAW;DEBUG</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlcipher" Version="2.1.2" />
</ItemGroup>
Expand Down
5 changes: 1 addition & 4 deletions nuget/SQLite-net-static/SQLite-net-static.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,17 @@
This version uses P/Invokes to the "sqlite3" native library provided by the operating system.
This works on Xamarin.iOS, Xamarin.Mac, Wilderness Labs' Meadow, and any other platform that has a "sqlite3" library in the path.
</Description>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<Configurations>Release;Debug</Configurations>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<DebugType></DebugType>
<DefineConstants>RELEASE</DefineConstants>
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DefineConstants>DEBUG</DefineConstants>
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<Compile Include="..\..\src\SQLite.cs">
<Link>SQLite.cs</Link>
Expand Down
8 changes: 1 addition & 7 deletions nuget/SQLite-net-std/SQLite-net-std.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,18 @@
<Description>
SQLite-net is an open source and light weight library providing easy SQLite database storage for .NET, Mono, and Xamarin applications.
This version uses SQLitePCLRaw to provide platform independent versions of SQLite.

</Description>

<Configurations>Release;Debug</Configurations>
</PropertyGroup>

<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>false</DebugSymbols>
<DebugType></DebugType>
<DefineConstants>USE_SQLITEPCL_RAW;RELEASE</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Release\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DefineConstants>USE_SQLITEPCL_RAW;DEBUG</DefineConstants>
<TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<DocumentationFile>bin\Debug\netstandard2.0\SQLite-net.xml</DocumentationFile>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="2.1.2" />
</ItemGroup>
Expand Down

0 comments on commit 2879cd9

Please sign in to comment.