-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSharpCoreDB.Provider.YesSql.csproj
More file actions
132 lines (99 loc) · 9.01 KB
/
SharpCoreDB.Provider.YesSql.csproj
File metadata and controls
132 lines (99 loc) · 9.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net10.0</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<RootNamespace>SharpCoreDB.Provider.YesSql</RootNamespace>
<!-- NuGet Package Properties -->
<PackageId>SharpCoreDB.Provider.YesSql</PackageId>
<Version>1.4.1</Version>
<Authors>MPCoreDeveloper</Authors>
<Company>SharpCoreDB</Company>
<Product>SharpCoreDB.Provider.YesSql</Product>
<Description>YesSql provider for SharpCoreDB encrypted database engine. Built for .NET 10 with C# 14. Supports Windows, Linux, macOS, Android, iOS, and IoT/embedded devices with platform-specific optimizations.</Description>
<Copyright>Copyright (c) 2026 MPCoreDeveloper</Copyright>
<PackageReleaseNotes>v1.4.1: Inherit metadata improvements from SharpCoreDB v1.4.1 (reopen bug fix, Brotli compression). YesSql provider integration with enterprise features.</PackageReleaseNotes>
<PackageTags>sharpcoredb;yessql;database;orm;net10;csharp14;android;ios;mobile;iot;arm64;x64</PackageTags>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/MPCoreDeveloper/SharpCoreDB</PackageProjectUrl>
<RepositoryUrl>https://github.com/MPCoreDeveloper/SharpCoreDB</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReadmeFile>NuGet.README.md</PackageReadmeFile>
<PackageIcon>SharpCoreDB.jpg</PackageIcon>
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<!-- Visual Studio: Enable "Pack" command to create multi-RID package -->
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<!-- Platform-specific optimizations -->
<Optimize>true</Optimize>
<PlatformTarget>AnyCPU</PlatformTarget>
<Prefer32Bit>false</Prefer32Bit>
<!-- Multi-targeting: Build for multiple RIDs when packing -->
<RuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
</PropertyGroup>
<ItemGroup>
<!-- YesSql Core for abstractions -->
<PackageReference Include="YesSql.Core" Version="1758646704.0.0" />
<!-- Use Sqlite provider as base (most compatible with SharpCoreDB) -->
<PackageReference Include="YesSql.Provider.Sqlite" Version="1758646704.0.0" />
<!-- DI for OrchardCore integration -->
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="10.0.3" Condition="'$(TargetFramework)' == 'net10.0'" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.2" Condition="'$(TargetFramework)' == 'net8.0'" />
<!-- SharpCoreDB dependencies -->
<PackageReference Include="SharpCoreDB" Version="1.4.1" Condition="'$(UseSharpCoreDBPackage)' == 'true'" />
<PackageReference Include="SharpCoreDB.Extensions" Version="1.4.1" Condition="'$(UseSharpCoreDBPackage)' == 'true'" />
<PackageReference Include="SharpCoreDB.Data.Provider" Version="1.4.1" Condition="'$(UseSharpCoreDBPackage)' == 'true'" />
</ItemGroup>
<ItemGroup Condition="'$(UseSharpCoreDBPackage)' != 'true'">
<!-- Reference to SharpCoreDB core (for IDatabase) -->
<ProjectReference Include="..\SharpCoreDB.Extensions\SharpCoreDB.Extensions.csproj" />
<ProjectReference Include="..\SharpCoreDB\SharpCoreDB.csproj" />
<!-- Reference to ADO.NET provider -->
<ProjectReference Include="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" />
</ItemGroup>
<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.103" />
</ItemGroup>
<ItemGroup>
<None Include="README.md" Pack="true" PackagePath="/" />
<None Include="..\SharpCoreDB\SharpCoreDB.jpg" Pack="true" PackagePath="/" Link="SharpCoreDB.jpg" />
</ItemGroup>
<ItemGroup>
<None Include="NuGet.README.md" Pack="true" PackagePath="/" />
<None Include="SharpCoreDB.jpg" Pack="true" PackagePath="/" />
</ItemGroup>
<!-- Build all RIDs automatically when packing -->
<Target Name="BuildAllRuntimesForPack" BeforeTargets="Pack">
<Message Text="Building platform-specific assemblies for SharpCoreDB.Provider.YesSql NuGet package..." Importance="high" />
<!-- Build dependencies first for each runtime identifier -->
<MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" />
<!-- Build for each runtime identifier -->
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" />
</Target>
<!-- Include runtime-specific assemblies in the package -->
<ItemGroup>
<None Include="bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Provider.YesSql.dll" Pack="true" PackagePath="runtimes\win-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Provider.YesSql.dll')" />
<None Include="bin\$(Configuration)\$(TargetFramework)\win-arm64\SharpCoreDB.Provider.YesSql.dll" Pack="true" PackagePath="runtimes\win-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-arm64\SharpCoreDB.Provider.YesSql.dll')" />
<None Include="bin\$(Configuration)\$(TargetFramework)\linux-x64\SharpCoreDB.Provider.YesSql.dll" Pack="true" PackagePath="runtimes\linux-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\linux-x64\SharpCoreDB.Provider.YesSql.dll')" />
<None Include="bin\$(Configuration)\$(TargetFramework)\linux-arm64\SharpCoreDB.Provider.YesSql.dll" Pack="true" PackagePath="runtimes\linux-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\linux-arm64\SharpCoreDB.Provider.YesSql.dll')" />
<None Include="bin\$(Configuration)\$(TargetFramework)\osx-x64\SharpCoreDB.Provider.YesSql.dll" Pack="true" PackagePath="runtimes\osx-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\osx-x64\SharpCoreDB.Provider.YesSql.dll')" />
<None Include="bin\$(Configuration)\$(TargetFramework)\osx-arm64\SharpCoreDB.Provider.YesSql.dll" Pack="true" PackagePath="runtimes\osx-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\osx-arm64\SharpCoreDB.Provider.YesSql.dll')" />
</ItemGroup>
</Project>