szogun1987 commented on issue #142: URL: https://github.com/apache/logging-log4net/issues/142#issuecomment-2316174734
I have also build log: ``` /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.extensions.logging.log4net.aspnetcore/8.0.0/lib/net8.0/Microsoft.Extensions.Logging.Log4Net.AspNetCore.dll : warning IL2104: Assembly 'Microsoft.Extensions.Logging.Log4Net.AspNetCore' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/log4net/2.0.15/lib/netstandard2.0/log4net.dll : warning IL3053: Assembly 'log4net' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.ViewFeatures.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/log4net/2.0.15/lib/netstandard2.0/log4net.dll : warning IL2104: Assembly 'log4net' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ILC : warning IL3000: log4net.Util.SystemInfo.EntryAssemblyLocation.get: 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.Core.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc.Core' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Components.Endpoints.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Components.Endpoints' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Components.Endpoints.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Components.Endpoints' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ILC : warning IL3000: log4net.Util.SystemInfo.AssemblyLocationInfo(Assembly): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Components.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Components' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/system.configuration.configurationmanager/4.5.0/lib/netstandard2.0/System.Configuration.ConfigurationManager.dll : warning IL2104: Assembly 'System.Configuration.ConfigurationManager' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ILC : warning IL3000: Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute.GetRelatedAssemblies(Assembly,Boolean,Func`2<String,Boolean>,RelatedAssemblyAttribute.AssemblyLoadContextWrapper): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ILC : warning IL3000: Microsoft.AspNetCore.Mvc.ApplicationParts.RelatedAssemblyAttribute.GetRelatedAssemblies(Assembly,Boolean,Func`2<String,Boolean>,RelatedAssemblyAttribute.AssemblyLoadContextWrapper): 'System.Reflection.Assembly.Location.get' always returns an empty string for assemblies embedded in a single-file app. If the path to the app directory is needed, consider calling 'System.AppContext.BaseDirectory'. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.Core.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Mvc.Core' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.RazorPages.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc.RazorPages' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/newtonsoft.json/13.0.1/lib/netstandard2.0/Newtonsoft.Json.dll : warning IL2104: Assembly 'Newtonsoft.Json' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.Abstractions.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc.Abstractions' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.ViewFeatures.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Mvc.ViewFeatures' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.Abstractions.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Mvc.Abstractions' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/newtonsoft.json/13.0.1/lib/netstandard2.0/Newtonsoft.Json.dll : warning IL3053: Assembly 'Newtonsoft.Json' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ILC : warning IL3002: System.Configuration.ClientConfigPaths.ClientConfigPaths(String,Boolean): Using member 'System.Reflection.Module.Name.get' which has 'RequiresAssemblyFilesAttribute' can break functionality when embedded in a single-file app. Returns <Unknown> for modules with no file path. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ILC : warning IL3002: System.Configuration.ClientConfigPaths.GetTypeAndHashSuffix(String): Using member 'System.Reflection.Module.Name.get' which has 'RequiresAssemblyFilesAttribute' can break functionality when embedded in a single-file app. Returns <Unknown> for modules with no file path. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.Razor.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc.Razor' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.Razor.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Mvc.Razor' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.RazorPages.dll : warning IL3053: Assembly 'Microsoft.AspNetCore.Mvc.RazorPages' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Mvc.DataAnnotations.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Mvc.DataAnnotations' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/runtime.linux-x64.microsoft.dotnet.ilcompiler/8.0.8/framework/System.Linq.Expressions.dll : warning IL3053: Assembly 'System.Linq.Expressions' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /_/src/libraries/System.Data.Common/src/System/Data/DataTable.cs(6722): Trim analysis warning IL2026: System.Data.DataTable.System.Xml.Serialization.IXmlSerializable.WriteXml(XmlWriter): Using member 'System.Data.DataTable.WriteXmlInternal(XmlWriter)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DataTable.WriteXml uses XmlSerialization underneath which is not trimming safe. Members from serialized types may be trimmed if not referenced directly. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /_/src/libraries/System.Data.Common/src/System/Data/DataSet.cs(3529): Trim analysis warning IL2026: System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.WriteXml(XmlWriter): Using member 'System.Data.DataSet.WriteXmlInternal(XmlWriter)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DataSet.WriteXml uses XmlSerialization underneath which is not trimming safe. Members from serialized types may be trimmed if not referenced directly. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/runtime.linux-x64.microsoft.dotnet.ilcompiler/8.0.8/framework/Microsoft.CSharp.dll : warning IL3053: Assembly 'Microsoft.CSharp' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/microsoft.aspnetcore.app.runtime.linux-x64/8.0.8/runtimes/linux-x64/lib/net8.0/Microsoft.AspNetCore.Components.dll : warning IL2104: Assembly 'Microsoft.AspNetCore.Components' produced trim warnings. For more information see https://aka.ms/dotnet-illink/libraries [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /root/.nuget/packages/runtime.linux-x64.microsoft.dotnet.ilcompiler/8.0.8/framework/System.Private.Xml.dll : warning IL3053: Assembly 'System.Private.Xml' produced AOT analysis warnings. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /_/src/libraries/System.Data.Common/src/System/Data/DataTable.cs(6704): Trim analysis warning IL2026: System.Data.DataTable.System.Xml.Serialization.IXmlSerializable.ReadXml(XmlReader): Using member 'System.Data.DataTable.ReadXmlSerializableInternal(XmlReader)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DataTable.ReadXml uses XmlSerialization underneath which is not trimming safe. Members from serialized types may be trimmed if not referenced directly. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /_/src/libraries/System.Data.Common/src/System/Data/DataSet.cs(3507): Trim analysis warning IL2026: System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.ReadXml(XmlReader): Using member 'System.Data.DataSet.ReadXmlSerializableInternal(XmlReader)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DataSet.ReadXml uses XmlSerialization underneath which is not trimming safe. Members from serialized types may be trimmed if not referenced directly. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /_/src/libraries/System.Data.Common/src/System/Data/DataTable.cs(6668): Trim analysis warning IL2026: System.Data.DataTable.System.Xml.Serialization.IXmlSerializable.GetSchema(): Using member 'System.Data.DataTable.GetXmlSchema()' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DataTable.GetSchema uses TypeDescriptor and XmlSerialization underneath which are not trimming safe. Members from serialized types may be trimmed if not referenced directly. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] /_/src/libraries/System.Data.Common/src/System/Data/DataSet.cs(3473): Trim analysis warning IL2026: System.Data.DataSet.System.Xml.Serialization.IXmlSerializable.GetSchema(): Using member 'System.Data.DataSet.WriteXmlSchema(DataSet,XmlWriter)' which has 'RequiresUnreferencedCodeAttribute' can break functionality when trimming application code. DataSet.GetSchema uses TypeDescriptor and XmlSerialization underneath which are not trimming safe. Members from serialized types may be trimmed if not referenced directly. [/opt/atlassian/pipelines/agent/build/src/SzogunUI.Skupomat.Auth.Web/SzogunUI.Skupomat.Auth.Web.csproj] ``` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
