|
5 | 5 | <ImplicitUsings>enable</ImplicitUsings> |
6 | 6 | <Nullable>enable</Nullable> |
7 | 7 | <RootNamespace>SharpCoreDB.Provider.YesSql</RootNamespace> |
| 8 | + |
| 9 | + <!-- NuGet Package Properties --> |
| 10 | + <PackageId>SharpCoreDB.Provider.YesSql</PackageId> |
| 11 | + <Version>1.0.6</Version> |
| 12 | + <Authors>MPCoreDeveloper</Authors> |
| 13 | + <Company>SharpCoreDB</Company> |
| 14 | + <Product>SharpCoreDB.Provider.YesSql</Product> |
| 15 | + <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> |
| 16 | + <Copyright>Copyright (c) 2026 MPCoreDeveloper</Copyright> |
| 17 | + <PackageReleaseNotes>v1.0.6: Updated to support SharpCoreDB 1.0.6 with full subquery and JOIN support.</PackageReleaseNotes> |
| 18 | + <PackageTags>sharpcoredb;yessql;database;orm;net10;csharp14;android;ios;mobile;iot;arm64;x64</PackageTags> |
| 19 | + <PackageLicenseExpression>MIT</PackageLicenseExpression> |
| 20 | + <PackageProjectUrl>https://github.com/MPCoreDeveloper/SharpCoreDB</PackageProjectUrl> |
| 21 | + <RepositoryUrl>https://github.com/MPCoreDeveloper/SharpCoreDB</RepositoryUrl> |
| 22 | + <RepositoryType>git</RepositoryType> |
| 23 | + <PackageReadmeFile>README.md</PackageReadmeFile> |
| 24 | + <PackageIcon>SharpCoreDB.jpg</PackageIcon> |
| 25 | + <IncludeSymbols>true</IncludeSymbols> |
| 26 | + <SymbolPackageFormat>snupkg</SymbolPackageFormat> |
| 27 | + |
| 28 | + <!-- Visual Studio: Enable "Pack" command to create multi-RID package --> |
| 29 | + <GeneratePackageOnBuild>false</GeneratePackageOnBuild> |
| 30 | + <GenerateDocumentationFile>true</GenerateDocumentationFile> |
| 31 | + |
| 32 | + <!-- Platform-specific optimizations --> |
| 33 | + <Optimize>true</Optimize> |
| 34 | + <PlatformTarget>AnyCPU</PlatformTarget> |
| 35 | + <Prefer32Bit>false</Prefer32Bit> |
| 36 | + |
| 37 | + <!-- Multi-targeting: Build for multiple RIDs when packing --> |
| 38 | + <RuntimeIdentifiers>win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers> |
8 | 39 | </PropertyGroup> |
9 | 40 |
|
10 | 41 | <ItemGroup> |
|
31 | 62 | <PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.102" /> |
32 | 63 | </ItemGroup> |
33 | 64 |
|
| 65 | + <ItemGroup> |
| 66 | + <None Include="README.md" Pack="true" PackagePath="/" /> |
| 67 | + <None Include="..\SharpCoreDB\SharpCoreDB.jpg" Pack="true" PackagePath="/" Link="SharpCoreDB.jpg" /> |
| 68 | + </ItemGroup> |
| 69 | + |
| 70 | + <!-- Build all RIDs automatically when packing --> |
| 71 | + <Target Name="BuildAllRuntimesForPack" BeforeTargets="Pack"> |
| 72 | + <Message Text="Building platform-specific assemblies for SharpCoreDB.Provider.YesSql NuGet package..." Importance="high" /> |
| 73 | + |
| 74 | + <!-- Build dependencies first for each runtime identifier --> |
| 75 | + <MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" /> |
| 76 | + <MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" /> |
| 77 | + |
| 78 | + <!-- Build for each runtime identifier --> |
| 79 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" /> |
| 80 | + |
| 81 | + <MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" /> |
| 82 | + <MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" /> |
| 83 | + |
| 84 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" /> |
| 85 | + |
| 86 | + <MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" /> |
| 87 | + <MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" /> |
| 88 | + |
| 89 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" /> |
| 90 | + |
| 91 | + <MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" /> |
| 92 | + <MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" /> |
| 93 | + |
| 94 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" /> |
| 95 | + |
| 96 | + <MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" /> |
| 97 | + <MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" /> |
| 98 | + |
| 99 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" /> |
| 100 | + |
| 101 | + <MSBuild Projects="..\SharpCoreDB\SharpCoreDB.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" /> |
| 102 | + <MSBuild Projects="..\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" /> |
| 103 | + |
| 104 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" /> |
| 105 | + </Target> |
| 106 | + |
| 107 | + <!-- Include runtime-specific assemblies in the package --> |
| 108 | + <ItemGroup> |
| 109 | + <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')" /> |
| 110 | + |
| 111 | + <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')" /> |
| 112 | + |
| 113 | + <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')" /> |
| 114 | + |
| 115 | + <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')" /> |
| 116 | + |
| 117 | + <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')" /> |
| 118 | + |
| 119 | + <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')" /> |
| 120 | + </ItemGroup> |
34 | 121 | </Project> |
0 commit comments