Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,66 +1,66 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Exclude from CI builds - requires OrchardCore 3.0 preview packages -->
<IsPackable>false</IsPackable>
<IsPublishable>false</IsPublishable>
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
<!-- Skip build entirely in CI to avoid package restore failures -->
<ExcludeFromBuild Condition="'$(CI)' == 'true' OR '$(GITHUB_ACTIONS)' == 'true'">true</ExcludeFromBuild>
<UseLocalSharpCoreDbSources Condition="'$(UseLocalSharpCoreDbSources)' == '' and Exists('..\..\..\..\src\SharpCoreDB\SharpCoreDB.csproj')">true</UseLocalSharpCoreDbSources>
<UseLocalSharpCoreDbSources Condition="'$(UseLocalSharpCoreDbSources)' == ''">false</UseLocalSharpCoreDbSources>
</PropertyGroup>

<!-- OrchardCore packages only restored when NOT in CI -->
<ItemGroup Condition="'$(CI)' != 'true' AND '$(GITHUB_ACTIONS)' != 'true'">
<!-- Stable OrchardCore package -->
<PackageReference Include="OrchardCore.Application.Cms.Targets" Version="2.2.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HtmlSanitizer" Version="9.0.892" />
<PackageReference Include="MailKit" Version="4.17.0" />
<PackageReference Include="MimeKit" Version="4.17.0" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.9" />
<PackageReference Include="AWSSDK.Core" Version="4.0.8.1" />

<!-- Force safer / newer identity and data clients where OrchardCore pulls older ones -->
<PackageReference Include="Azure.Identity" Version="1.21.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.85.0" />
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.85.0" />

<!-- Replace deprecated NEST / Elasticsearch.Net (Legacy) pulled by OrchardCore.Search.Elasticsearch.
Modern replacement: Elastic.Clients.Elasticsearch.
Note: OrchardCore 2.2.1's ES module may still load the old client at runtime for its integration.
If search is not required for this demo, the Elasticsearch feature can be disabled in OrchardCore setup. -->
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="9.4.2" />
</ItemGroup>

<ItemGroup Condition="'$(UseLocalSharpCoreDbSources)' == 'true'">
<ProjectReference Include="..\..\..\..\src\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" />
<ProjectReference Include="..\..\..\..\src\SharpCoreDB.Provider.YesSql\SharpCoreDB.Provider.YesSql.csproj" />
<ProjectReference Include="..\..\..\..\src\SharpCoreDB\SharpCoreDB.csproj" />
</ItemGroup>

<ItemGroup Condition="'$(UseLocalSharpCoreDbSources)' != 'true'">
<PackageReference Include="SharpCoreDB.Data.Provider" Version="1.9.0" />
<PackageReference Include="SharpCoreDB.Provider.YesSql" Version="1.9.0" />
<PackageReference Include="SharpCoreDB" Version="1.9.0" />
</ItemGroup>

<ItemGroup>
<!-- Explicit override for vulnerable SQLitePCLRaw 2.1.11 (pulled via YesSql or transitive in OrchardCore/SkiaSharp paths) -->
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />

<!-- Force modern Microsoft.Data.SqlClient to avoid CriticalBugs in older 6.x versions pulled by OrchardCore / other deps -->
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.1" />

<PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.300" />
</ItemGroup>

</Project>


<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<!-- Exclude from CI builds - requires OrchardCore 3.0 preview packages -->
<IsPackable>false</IsPackable>
<IsPublishable>false</IsPublishable>
<ExcludeFromSourceBuild>true</ExcludeFromSourceBuild>
<!-- Skip build entirely in CI to avoid package restore failures -->
<ExcludeFromBuild Condition="'$(CI)' == 'true' OR '$(GITHUB_ACTIONS)' == 'true'">true</ExcludeFromBuild>
<UseLocalSharpCoreDbSources Condition="'$(UseLocalSharpCoreDbSources)' == '' and Exists('..\..\..\..\src\SharpCoreDB\SharpCoreDB.csproj')">true</UseLocalSharpCoreDbSources>
<UseLocalSharpCoreDbSources Condition="'$(UseLocalSharpCoreDbSources)' == ''">false</UseLocalSharpCoreDbSources>
</PropertyGroup>
<!-- OrchardCore packages only restored when NOT in CI -->
<ItemGroup Condition="'$(CI)' != 'true' AND '$(GITHUB_ACTIONS)' != 'true'">
<!-- Stable OrchardCore package -->
<PackageReference Include="OrchardCore.Application.Cms.Targets" Version="2.2.1" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="HtmlSanitizer" Version="9.0.892" />
<PackageReference Include="MailKit" Version="4.17.0" />
<PackageReference Include="MimeKit" Version="4.17.0" />
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="10.7.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.OpenIdConnect" Version="10.0.9" />
<PackageReference Include="AWSSDK.Core" Version="4.0.9.6" />
<!-- Force safer / newer identity and data clients where OrchardCore pulls older ones -->
<PackageReference Include="Azure.Identity" Version="1.21.0" />
<PackageReference Include="Microsoft.Identity.Client" Version="4.85.0" />
<PackageReference Include="Microsoft.Identity.Client.Extensions.Msal" Version="4.85.0" />
<!-- Replace deprecated NEST / Elasticsearch.Net (Legacy) pulled by OrchardCore.Search.Elasticsearch.
Modern replacement: Elastic.Clients.Elasticsearch.
Note: OrchardCore 2.2.1's ES module may still load the old client at runtime for its integration.
If search is not required for this demo, the Elasticsearch feature can be disabled in OrchardCore setup. -->
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="9.4.2" />
</ItemGroup>
<ItemGroup Condition="'$(UseLocalSharpCoreDbSources)' == 'true'">
<ProjectReference Include="..\..\..\..\src\SharpCoreDB.Data.Provider\SharpCoreDB.Data.Provider.csproj" />
<ProjectReference Include="..\..\..\..\src\SharpCoreDB.Provider.YesSql\SharpCoreDB.Provider.YesSql.csproj" />
<ProjectReference Include="..\..\..\..\src\SharpCoreDB\SharpCoreDB.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(UseLocalSharpCoreDbSources)' != 'true'">
<PackageReference Include="SharpCoreDB.Data.Provider" Version="1.9.0" />
<PackageReference Include="SharpCoreDB.Provider.YesSql" Version="1.9.0" />
<PackageReference Include="SharpCoreDB" Version="1.9.0" />
</ItemGroup>
<ItemGroup>
<!-- Explicit override for vulnerable SQLitePCLRaw 2.1.11 (pulled via YesSql or transitive in OrchardCore/SkiaSharp paths) -->
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="3.0.3" />
<!-- Force modern Microsoft.Data.SqlClient to avoid CriticalBugs in older 6.x versions pulled by OrchardCore / other deps -->
<PackageReference Include="Microsoft.Data.SqlClient" Version="7.0.1" />
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="10.0.300" />
</ItemGroup>
</Project>
Loading