You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using FreeSql.Provider.QuestDb in a .NET 9.0 ASP.NET Core project with Native AOT publish and <TrimmerRootAssembly Include="Npgsql" /> causes the publish to hang indefinitely at the IlcCompile step, consuming excessive memory.
<ProjectSdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<PublishAot>true</PublishAot>
<InvariantGlobalization>true</InvariantGlobalization>
</PropertyGroup>
<ItemGroup>
<PackageReferenceInclude="FreeSql.Repository"Version="3.5.204" />
<PackageReferenceInclude="FreeSql.Provider.QuestDb"Version="3.5.204" />
<!-- Npgsql is rooted to avoid trimming, but the old version causes hangs -->
<TrimmerRootAssemblyInclude="Npgsql" />
</ItemGroup>
</Project>
问题描述及重现代码:
Using FreeSql.Provider.QuestDb in a .NET 9.0 ASP.NET Core project with Native AOT publish and
<TrimmerRootAssembly Include="Npgsql" />
causes the publish to hang indefinitely at theIlcCompile
step, consuming excessive memory.dotnet add package FreeSql.Repository --version 3.5.204
dotnet add package FreeSql.Provider.QuestDb --version 3.5.204
.csproj
as shown above.dotnet publish -c Release -v diag
and observe hang atIlcCompile
.数据库版本
Not applicable (QuestDB provider, no live database connection needed for repro).
安装的Nuget包
.net framework/. net core? 及具体版本
net9.0
)The text was updated successfully, but these errors were encountered: