-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathSharpCoreDB.Extensions.csproj
More file actions
102 lines (83 loc) · 6.66 KB
/
SharpCoreDB.Extensions.csproj
File metadata and controls
102 lines (83 loc) · 6.66 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
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<LangVersion>14.0</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<!-- NuGet Package Properties -->
<PackageId>SharpCoreDB.Extensions</PackageId>
<Version>1.6.0</Version>
<Authors>MPCoreDeveloper</Authors>
<Company>SharpCoreDB</Company>
<Product>SharpCoreDB.Extensions</Product>
<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>
<Copyright>Copyright (c) 2026 MPCoreDeveloper</Copyright>
<PackageReleaseNotes>v1.6.0: Synchronized release with the latest SharpCoreDB features, fixes, and documentation updates.</PackageReleaseNotes>
<PackageTags>sharpcoredb;database;dapper;healthchecks;extensions;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>
<PackageReference Include="Dapper" Version="2.1.72" />
<PackageReference Include="Microsoft.Extensions.Diagnostics.HealthChecks" Version="10.0.5" />
<PackageReference Include="FluentMigrator" Version="8.0.1" PrivateAssets="all" />
<PackageReference Include="FluentMigrator.Runner" Version="8.0.1" PrivateAssets="all" />
<PackageReference Include="FluentMigrator.Runner.Core" Version="8.0.1" PrivateAssets="all" />
<!-- Reference published SharpCoreDB NuGet package instead of project reference for deployment -->
<PackageReference Include="SharpCoreDB" Version="1.6.0" Condition="'$(UseSharpCoreDBPackage)' == 'true'" />
<PackageReference Include="SharpCoreDB.Client" Version="1.6.0" Condition="'$(UseSharpCoreDBPackage)' == 'true'" PrivateAssets="all" />
</ItemGroup>
<ItemGroup Condition="'$(UseSharpCoreDBPackage)' != 'true'">
<!-- Reference SharpCoreDB project for development -->
<ProjectReference Include="..\SharpCoreDB\SharpCoreDB.csproj" />
<ProjectReference Include="..\SharpCoreDB.Client\SharpCoreDB.Client.csproj" PrivateAssets="all" />
</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.Extensions NuGet package..." Importance="high" />
<!-- Build for each runtime identifier -->
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-x64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=win-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-x64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=linux-arm64;Configuration=$(Configuration)" />
<MSBuild Projects="$(MSBuildProjectFile)" Targets="Build" Properties="RuntimeIdentifier=osx-x64;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.Extensions.dll" Pack="true" PackagePath="runtimes\win-x64\lib\$(TargetFramework)\" Condition="Exists('bin\$(Configuration)\$(TargetFramework)\win-x64\SharpCoreDB.Extensions.dll')" />
<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')" />
<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')" />
<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')" />
<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')" />
<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')" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="8.17.0" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.201" />
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="8.17.0" />
</ItemGroup>
</Project>