|
1 | | -<Project Sdk="Microsoft.NET.Sdk"> |
2 | | - |
3 | | - <PropertyGroup> |
4 | | - <TargetFramework>net10.0</TargetFramework> |
5 | | - <LangVersion>14.0</LangVersion> |
6 | | - <ImplicitUsings>enable</ImplicitUsings> |
7 | | - <Nullable>enable</Nullable> |
8 | | - |
9 | | - <!-- NuGet Package Properties --> |
10 | | - <PackageId>SharpCoreDB.Extensions</PackageId> |
11 | | - <Version>1.6.0</Version> |
12 | | - <Authors>MPCoreDeveloper</Authors> |
13 | | - <Company>SharpCoreDB</Company> |
14 | | - <Product>SharpCoreDB.Extensions</Product> |
15 | | - <Description>Extensions for SharpCoreDB including Dapper integration and ASP.NET Core health checks. 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.6.0: Synchronized release with the latest SharpCoreDB features, fixes, and documentation updates.</PackageReleaseNotes> |
18 | | - <PackageTags>sharpcoredb;database;dapper;healthchecks;extensions;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>NuGet.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> |
39 | | - </PropertyGroup> |
40 | | - |
41 | | - <ItemGroup> |
42 | | - <PackageReference Include="Dapper" Version="2.1.72" /> |
43 | | - <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="10.0.5" /> |
44 | | - <PackageReference Include="FluentMigrator" Version="8.0.1" PrivateAssets="all" /> |
45 | | - <PackageReference Include="FluentMigrator.Runner" Version="8.0.1" PrivateAssets="all" /> |
46 | | - <PackageReference Include="FluentMigrator.Runner.Core" Version="8.0.1" PrivateAssets="all" /> |
47 | | - |
48 | | - <!-- Reference published SharpCoreDB NuGet package instead of project reference for deployment --> |
49 | | - <PackageReference Include="SharpCoreDB" Version="1.6.0" Condition="'$(UseSharpCoreDBPackage)' == 'true'" /> |
50 | | - <PackageReference Include="SharpCoreDB.Client" Version="1.6.0" Condition="'$(UseSharpCoreDBPackage)' == 'true'" PrivateAssets="all" /> |
51 | | - </ItemGroup> |
52 | | - |
53 | | - <ItemGroup Condition="'$(UseSharpCoreDBPackage)' != 'true'"> |
54 | | - <!-- Reference SharpCoreDB project for development --> |
55 | | - <ProjectReference Include="..\SharpCoreDB\SharpCoreDB.csproj" /> |
56 | | - <ProjectReference Include="..\SharpCoreDB.Client\SharpCoreDB.Client.csproj" PrivateAssets="all" /> |
57 | | - </ItemGroup> |
58 | | - |
59 | | - <ItemGroup> |
60 | | - <None Include="README.md" Pack="true" PackagePath="/" /> |
61 | | - <None Include="..\SharpCoreDB\SharpCoreDB.jpg" Pack="true" PackagePath="/" Link="SharpCoreDB.jpg" /> |
62 | | - </ItemGroup> |
63 | | - |
64 | | - <ItemGroup> |
65 | | - <None Include="NuGet.README.md" Pack="true" PackagePath="/" /> |
66 | | - <None Include="SharpCoreDB.jpg" Pack="true" PackagePath="/" /> |
67 | | - </ItemGroup> |
68 | | - |
69 | | - <!-- Build all RIDs automatically when packing --> |
70 | | - <Target Name="BuildAllRuntimesForPack" BeforeTargets="Pack"> |
71 | | - <Message Text="Building platform-specific assemblies for SharpCoreDB.Extensions NuGet package..." Importance="high" /> |
72 | | - |
73 | | - <!-- Build for each runtime identifier --> |
74 | | - <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" /> |
75 | | - <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" /> |
76 | | - <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" /> |
77 | | - <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" /> |
78 | | - <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" /> |
79 | | - <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" /> |
80 | | - </Target> |
81 | | - |
82 | | - <!-- Include runtime-specific assemblies in the package --> |
83 | | - <ItemGroup> |
84 | | - <None Include="bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\win-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Extensions.dll')" /> |
85 | | - |
86 | | - <None Include="bin\$(Configuration)\$(TargetFramework)\win-arm64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\win-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-arm64\SharpCoreDB.Extensions.dll')" /> |
87 | | - |
88 | | - <None Include="bin\$(Configuration)\$(TargetFramework)\linux-x64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\linux-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\linux-x64\SharpCoreDB.Extensions.dll')" /> |
89 | | - |
90 | | - <None Include="bin\$(Configuration)\$(TargetFramework)\linux-arm64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\linux-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\linux-arm64\SharpCoreDB.Extensions.dll')" /> |
91 | | - |
92 | | - <None Include="bin\$(Configuration)\$(TargetFramework)\osx-x64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\osx-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\osx-x64\SharpCoreDB.Extensions.dll')" /> |
93 | | - |
94 | | - <None Include="bin\$(Configuration)\$(TargetFramework)\osx-arm64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\osx-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\osx-arm64\SharpCoreDB.Extensions.dll')" /> |
95 | | - </ItemGroup> |
96 | | - <ItemGroup> |
97 | | - <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.17.0" /> |
98 | | - <PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.201" /> |
99 | | - <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.17.0" /> |
100 | | - </ItemGroup> |
101 | | - |
102 | | -</Project> |
| 1 | +<Project Sdk="Microsoft.NET.Sdk"> |
| 2 | + |
| 3 | + <PropertyGroup> |
| 4 | + <TargetFramework>net10.0</TargetFramework> |
| 5 | + <LangVersion>14.0</LangVersion> |
| 6 | + <ImplicitUsings>enable</ImplicitUsings> |
| 7 | + <Nullable>enable</Nullable> |
| 8 | + |
| 9 | + <!-- NuGet Package Properties --> |
| 10 | + <PackageId>SharpCoreDB.Extensions</PackageId> |
| 11 | + <Version>1.6.0</Version> |
| 12 | + <Authors>MPCoreDeveloper</Authors> |
| 13 | + <Company>SharpCoreDB</Company> |
| 14 | + <Product>SharpCoreDB.Extensions</Product> |
| 15 | + <Description>Extensions for SharpCoreDB including Dapper integration and ASP.NET Core health checks. 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.6.0: Synchronized release with the latest SharpCoreDB features, fixes, and documentation updates.</PackageReleaseNotes> |
| 18 | + <PackageTags>sharpcoredb;database;dapper;healthchecks;extensions;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>NuGet.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> |
| 39 | + </PropertyGroup> |
| 40 | + |
| 41 | + <ItemGroup> |
| 42 | + <PackageReference Include="Dapper" Version="2.1.72" /> |
| 43 | + <PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="10.0.5" /> |
| 44 | + <PackageReference Include="FluentMigrator" Version="8.0.1" PrivateAssets="all" /> |
| 45 | + <PackageReference Include="FluentMigrator.Runner" Version="8.0.1" PrivateAssets="all" /> |
| 46 | + <PackageReference Include="FluentMigrator.Runner.Core" Version="8.0.1" PrivateAssets="all" /> |
| 47 | + |
| 48 | + <!-- Reference published SharpCoreDB NuGet package instead of project reference for deployment --> |
| 49 | + <PackageReference Include="SharpCoreDB" Version="1.6.0" Condition="'$(UseSharpCoreDBPackage)' == 'true'" /> |
| 50 | + <PackageReference Include="SharpCoreDB.Client" Version="1.6.0" Condition="'$(UseSharpCoreDBPackage)' == 'true'" PrivateAssets="all" /> |
| 51 | + </ItemGroup> |
| 52 | + |
| 53 | + <ItemGroup Condition="'$(UseSharpCoreDBPackage)' != 'true'"> |
| 54 | + <!-- Reference SharpCoreDB project for development --> |
| 55 | + <ProjectReference Include="..\SharpCoreDB\SharpCoreDB.csproj" /> |
| 56 | + <ProjectReference Include="..\SharpCoreDB.Client\SharpCoreDB.Client.csproj" PrivateAssets="all" /> |
| 57 | + </ItemGroup> |
| 58 | + |
| 59 | + <ItemGroup> |
| 60 | + <None Include="README.md" Pack="true" PackagePath="/" /> |
| 61 | + <None Include="..\SharpCoreDB\SharpCoreDB.jpg" Pack="true" PackagePath="/" Link="SharpCoreDB.jpg" /> |
| 62 | + </ItemGroup> |
| 63 | + |
| 64 | + <ItemGroup> |
| 65 | + <None Include="NuGet.README.md" Pack="true" PackagePath="/" /> |
| 66 | + <None Include="SharpCoreDB.jpg" Pack="true" PackagePath="/" /> |
| 67 | + </ItemGroup> |
| 68 | + |
| 69 | + <!-- Build all RIDs automatically when packing --> |
| 70 | + <Target Name="BuildAllRuntimesForPack" BeforeTargets="Pack"> |
| 71 | + <Message Text="Building platform-specific assemblies for SharpCoreDB.Extensions NuGet package..." Importance="high" /> |
| 72 | + |
| 73 | + <!-- Build for each runtime identifier --> |
| 74 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" /> |
| 75 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" /> |
| 76 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" /> |
| 77 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" /> |
| 78 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-x64;Configuration=$(Configuration)" /> |
| 79 | + <MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-arm64;Configuration=$(Configuration)" /> |
| 80 | + </Target> |
| 81 | + |
| 82 | + <!-- Include runtime-specific assemblies in the package --> |
| 83 | + <ItemGroup> |
| 84 | + <None Include="bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\win-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Extensions.dll')" /> |
| 85 | + |
| 86 | + <None Include="bin\$(Configuration)\$(TargetFramework)\win-arm64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\win-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-arm64\SharpCoreDB.Extensions.dll')" /> |
| 87 | + |
| 88 | + <None Include="bin\$(Configuration)\$(TargetFramework)\linux-x64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\linux-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\linux-x64\SharpCoreDB.Extensions.dll')" /> |
| 89 | + |
| 90 | + <None Include="bin\$(Configuration)\$(TargetFramework)\linux-arm64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\linux-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\linux-arm64\SharpCoreDB.Extensions.dll')" /> |
| 91 | + |
| 92 | + <None Include="bin\$(Configuration)\$(TargetFramework)\osx-x64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\osx-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\osx-x64\SharpCoreDB.Extensions.dll')" /> |
| 93 | + |
| 94 | + <None Include="bin\$(Configuration)\$(TargetFramework)\osx-arm64\SharpCoreDB.Extensions.dll" Pack="true" PackagePath="runtimes\osx-arm64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\osx-arm64\SharpCoreDB.Extensions.dll')" /> |
| 95 | + </ItemGroup> |
| 96 | + <ItemGroup> |
| 97 | + <PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.17.0" /> |
| 98 | + <PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.201" /> |
| 99 | + <PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.17.0" /> |
| 100 | + </ItemGroup> |
| 101 | + |
| 102 | +</Project> |
0 commit comments