Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.net 8 Blazor WASM project AOT fails #99548

Closed
vsfeedback opened this issue Mar 8, 2024 · 4 comments
Closed

.net 8 Blazor WASM project AOT fails #99548

vsfeedback opened this issue Mar 8, 2024 · 4 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono
Milestone

Comments

@vsfeedback
Copy link

This issue has been moved from a ticket on Developer Community.


Our AOT fails in Visual Studio 2022 when we manually try to publish. The package that causes the issue is Microsoft.SQLServer.DataType. Is there any known issues with this package? Here is the error message:
[2:58 PM] Pavel Popov
"C:\Users\pavel\source\repos\ABCApps\ABCBlazor\ABCBlazor.csproj" (default target) (1) ->

   "C:\Users\pavel\source\repos\ABCApps\ABCBlazor\ABCBlazor.csproj" (WasmNestedPublishApp target) (1:2) ->

   (_WasmAotCompileApp target) ->

     C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.2\Sdk\WasmApp.Native.targets(686,5): error : Precompiling failed for C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Any CPU\Release\net8.0\linked\Microso

   ft.SqlServer.Types.dll with exit code 1. [C:\Users\pavel\source\repos\ABCApps\ABCBlazor\ABCBlazor.csproj]

   C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.2\Sdk\WasmApp.Native.targets(686,5): error : Mono Ahead of Time compiler - compiling assembly C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Any CPU\Releas

   e\net8.0\linked\Microsoft.SqlServer.Types.dll [C:\Users\pavel\source\repos\ABCApps\ABCBlazor\ABCBlazor.csproj]

   C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.2\Sdk\WasmApp.Native.targets(686,5): error : Failed to load method 0x6000001 from 'C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Any CPU\Release\net8.0\li

   nked\Microsoft.SqlServer.Types.dll' due to Could not resolve type with token 01000010 from typeref (expected class 'Microsoft.Data.SqlClient.Server.IBinarySerialize' in assembly 'Microsoft.Data.SqlClient, Version=3.0.0.0, Culture=

   neutral, PublicKeyToken=23ec7fc2d6eaa4a5') assembly:Microsoft.Data.SqlClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5 type:Microsoft.Data.SqlClient.Server.IBinarySerialize member:(null). [C:\Users\pavel\s

   ource\repos\ABCApps\ABCBlazor\ABCBlazor.csproj]

   C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.2\Sdk\WasmApp.Native.targets(686,5): error : Run with MONO_LOG_LEVEL=debug for more information. [C:\Users\pavel\source\repos\ABCApps\ABCBlazor\ABCBlazor.cspr

   oj]

   C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.2\Sdk\WasmApp.Native.targets(686,5): error : AOT of image C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Any CPU\Release\net8.0\linked\Microsoft.SqlServer.

   Types.dll failed. [C:\Users\pavel\source\repos\ABCApps\ABCBlazor\ABCBlazor.csproj]

[3:11 PM] Pavel Popov
C:\Program Files\Microsoft Visual Studio\2022\Professional\MSBuild\Current\Bin\Roslyn\csc.exe /reference:C:\Users\pavel\source\repos\ABCApps\ABCDispatchComponents\bin\Release\net8.0\ABCDispatchComponents.dll /reference:C:\SharedDLLs\ABCServices.dll /reference:C:\Users\pavel.nuget\packages\azure.core\1.24.0\lib\net5.0\Azure.Core.dll /reference:C:\Users\pavel.nuget\packages\azure.identity\1.6.0\lib\netstandard2.0\Azure.Identity.dll /reference:C:\Users\pavel.nuget\packages\azure.storage.blobs\12.11.0\lib\netstandard2.0\Azure.Storage.Blobs.dll /reference:C:\Users\pavel.nuget\packages\azure.storage.common\12.10.0\lib\netstandard2.0\Azure.Storage.Common.dll /reference:C:\Users\pavel.nuget\packages\blazordownloadfile\2.4.0.2\lib\netstandard2.1\BlazorDownloadFile.dll /reference:C:\Users\pavel.nuget\packages\custom\1.0.62\lib\net7.0\Custom.dll /reference:C:\Users\pavel.nuget\packages\es.services\1.0.480\lib\net7.0\ES.Services.dll /reference:C:\Users\pavel.nuget\packages\blazorgooglemaps\4.1.0\lib\net8.0\GoogleMapsComponents.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.authorization\8.0.2\lib\net8.0\Microsoft.AspNetCore.Authorization.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.components.authorization\8.0.2\lib\net8.0\Microsoft.AspNetCore.Components.Authorization.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.components\8.0.2\lib\net8.0\Microsoft.AspNetCore.Components.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.components.forms\8.0.2\lib\net8.0\Microsoft.AspNetCore.Components.Forms.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.components.web\8.0.2\lib\net8.0\Microsoft.AspNetCore.Components.Web.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.components.webassembly.authentication\8.0.2\lib\net8.0\Microsoft.AspNetCore.Components.WebAssembly.Authentication.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.components.webassembly\8.0.2\lib\net8.0\Microsoft.AspNetCore.Components.WebAssembly.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.connections.abstractions\8.0.2\lib\net8.0\Microsoft.AspNetCore.Connections.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.http.connections.client\8.0.2\lib\net8.0\Microsoft.AspNetCore.Http.Connections.Client.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.http.connections.common\8.0.2\lib\net8.0\Microsoft.AspNetCore.Http.Connections.Common.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.metadata\8.0.2\lib\net8.0\Microsoft.AspNetCore.Metadata.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.signalr.client.core\8.0.2\lib\net8.0\Microsoft.AspNetCore.SignalR.Client.Core.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.signalr.client\8.0.2\lib\net8.0\Microsoft.AspNetCore.SignalR.Client.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.signalr.common\8.0.2\lib\net8.0\Microsoft.AspNetCore.SignalR.Common.dll /reference:C:\Users\pavel.nuget\packages\microsoft.aspnetcore.signalr.protocols.json\8.0.2\lib\net8.0\Microsoft.AspNetCore.SignalR.Protocols.Json.dll /reference:C:\Users\pavel.nuget\packages\microsoft.authentication.webassembly.msal\8.0.2\lib\net8.0\Microsoft.Authentication.WebAssembly.Msal.dll /reference:C:\Users\pavel.nuget\packages\microsoft.bcl.asyncinterfaces\1.1.1\ref\netstandard2.1\Microsoft.Bcl.AsyncInterfaces.dll /reference:C:\Users\pavel.nuget\packages\microsoft.build\15.9.20\lib\netcoreapp2.1\Microsoft.Build.dll /reference:C:\Users\pavel.nuget\packages\microsoft.build.framework\15.9.20\lib\netstandard2.0\Microsoft.Build.Framework.dll /reference:C:\Users\pavel.nuget\packages\microsoft.build.utilities.core\15.9.20\lib\netstandard2.0\Microsoft.Build.Utilities.Core.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\Microsoft.CSharp.dll" /reference:C:\Users\pavel.nuget\packages\microsoft.data.sqlclient\5.0.1\ref\netcoreapp3.1\Microsoft.Data.SqlClient.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.Data.Tools.Schema.Sql.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.Data.Tools.Schema.Tasks.Sql.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.Data.Tools.Sql.DesignServices.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.Data.Tools.Utilities.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.configuration.abstractions\8.0.0\lib\net8.0\Microsoft.Extensions.Configuration.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.configuration.binder\8.0.1\lib\net8.0\Microsoft.Extensions.Configuration.Binder.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.configuration\8.0.0\lib\net8.0\Microsoft.Extensions.Configuration.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.configuration.fileextensions\8.0.0\lib\net8.0\Microsoft.Extensions.Configuration.FileExtensions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.configuration.json\8.0.0\lib\net8.0\Microsoft.Extensions.Configuration.Json.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.dependencyinjection.abstractions\8.0.0\lib\net8.0\Microsoft.Extensions.DependencyInjection.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.dependencyinjection\8.0.0\lib\net8.0\Microsoft.Extensions.DependencyInjection.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.diagnostics.abstractions\8.0.0\lib\net8.0\Microsoft.Extensions.Diagnostics.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.diagnostics\8.0.0\lib\net8.0\Microsoft.Extensions.Diagnostics.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.features\8.0.2\lib\net8.0\Microsoft.Extensions.Features.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.fileproviders.abstractions\8.0.0\lib\net8.0\Microsoft.Extensions.FileProviders.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.fileproviders.physical\8.0.0\lib\net8.0\Microsoft.Extensions.FileProviders.Physical.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.filesystemglobbing\8.0.0\lib\net8.0\Microsoft.Extensions.FileSystemGlobbing.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.http\8.0.0\lib\net8.0\Microsoft.Extensions.Http.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.logging.abstractions\8.0.0\lib\net8.0\Microsoft.Extensions.Logging.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.logging\8.0.0\lib\net8.0\Microsoft.Extensions.Logging.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.options.configurationextensions\8.0.0\lib\net8.0\Microsoft.Extensions.Options.ConfigurationExtensions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.options\8.0.2\lib\net8.0\Microsoft.Extensions.Options.dll /reference:C:\Users\pavel.nuget\packages\microsoft.extensions.primitives\8.0.0\lib\net8.0\Microsoft.Extensions.Primitives.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identity.client\4.45.0\lib\netcoreapp2.1\Microsoft.Identity.Client.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identity.client.extensions.msal\2.19.3\lib\netcoreapp2.1\Microsoft.Identity.Client.Extensions.Msal.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identitymodel.abstractions\6.21.0\lib\net6.0\Microsoft.IdentityModel.Abstractions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identitymodel.jsonwebtokens\6.21.0\lib\net6.0\Microsoft.IdentityModel.JsonWebTokens.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identitymodel.logging\6.21.0\lib\net6.0\Microsoft.IdentityModel.Logging.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identitymodel.protocols\6.21.0\lib\net6.0\Microsoft.IdentityModel.Protocols.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identitymodel.protocols.openidconnect\6.21.0\lib\net6.0\Microsoft.IdentityModel.Protocols.OpenIdConnect.dll /reference:C:\Users\pavel.nuget\packages\microsoft.identitymodel.tokens\6.21.0\lib\net6.0\Microsoft.IdentityModel.Tokens.dll /reference:C:\Users\pavel.nuget\packages\microsoft.jsinterop\8.0.2\lib\net8.0\Microsoft.JSInterop.dll /reference:C:\Users\pavel.nuget\packages\microsoft.jsinterop.webassembly\8.0.2\lib\net8.0\Microsoft.JSInterop.WebAssembly.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.SqlServer.Dac.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.SqlServer.Dac.Extensions.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.server\1.0.0\lib\netstandard2.0\Microsoft.SqlServer.Server.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.SqlServer.TransactSql.ScriptDom.dll /reference:C:\Users\pavel.nuget\packages\microsoft.sqlserver.dacfx\160.5400.1\lib\netstandard2.1\Microsoft.SqlServer.Types.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\Microsoft.VisualBasic.Core.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\Microsoft.VisualBasic.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\Microsoft.Win32.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\Microsoft.Win32.Registry.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\mscorlib.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\netstandard.dll" /reference:C:\Users\pavel.nuget\packages\newtonsoft.json\13.0.3\lib\net6.0\Newtonsoft.Json.dll /reference:C:\Users\pavel.nuget\packages\oneof\3.0.263\lib\netstandard2.0\OneOf.dll /reference:C:\Users\pavel.nuget\packages\restsharp\106.13.0\lib\netstandard2.0\RestSharp.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.AppContext.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Buffers.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Collections.Concurrent.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Collections.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Collections.Immutable.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Collections.NonGeneric.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Collections.Specialized.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ComponentModel.Annotations.dll" /reference:C:\Users\pavel.nuget\packages\system.componentmodel.composition\4.5.0\ref\netstandard2.0\System.ComponentModel.Composition.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ComponentModel.DataAnnotations.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ComponentModel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ComponentModel.EventBasedAsync.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ComponentModel.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ComponentModel.TypeConverter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Configuration.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Console.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Core.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Data.Common.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Data.DataSetExtensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Data.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.Contracts.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.Debug.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.DiagnosticSource.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.FileVersionInfo.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.Process.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.StackTrace.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.TextWriterTraceListener.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.Tools.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.TraceSource.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Diagnostics.Tracing.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.dll" /reference:C:\Users\pavel.nuget\packages\system.drawing.common\5.0.0\ref\netcoreapp3.0\System.Drawing.Common.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Drawing.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Drawing.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Dynamic.Runtime.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Formats.Asn1.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Formats.Tar.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Globalization.Calendars.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Globalization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Globalization.Extensions.dll" /reference:C:\Users\pavel.nuget\packages\system.identitymodel.tokens.jwt\6.21.0\lib\net6.0\System.IdentityModel.Tokens.Jwt.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.Compression.Brotli.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.Compression.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.Compression.FileSystem.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.Compression.ZipFile.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.FileSystem.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.FileSystem.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.FileSystem.DriveInfo.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.FileSystem.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.FileSystem.Watcher.dll" /reference:C:\Users\pavel.nuget\packages\system.io.hashing\6.0.0\lib\net6.0\System.IO.Hashing.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.IsolatedStorage.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.MemoryMappedFiles.dll" /reference:C:\Users\pavel.nuget\packages\system.io.packaging\5.0.0\ref\netstandard2.0\System.IO.Packaging.dll /reference:C:\Users\pavel.nuget\packages\system.io.pipelines\8.0.0\lib\net8.0\System.IO.Pipelines.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.Pipes.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.Pipes.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.IO.UnmanagedMemoryStream.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Linq.Expressions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Linq.Parallel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Linq.Queryable.dll" /reference:C:\Users\pavel.nuget\packages\system.memory.data\1.0.2\lib\netstandard2.0\System.Memory.Data.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Memory.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Http.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Http.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.HttpListener.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Mail.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.NameResolution.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.NetworkInformation.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Ping.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Quic.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Requests.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Security.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.ServicePoint.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.Sockets.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.WebClient.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.WebHeaderCollection.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.WebProxy.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.WebSockets.Client.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Net.WebSockets.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Numerics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Numerics.Vectors.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ObjectModel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.DispatchProxy.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.Emit.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.Emit.ILGeneration.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.Emit.Lightweight.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.Metadata.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Reflection.TypeExtensions.dll" /reference:C:\Users\pavel.nuget\packages\system.resources.extensions\4.7.1\lib\netstandard2.0\System.Resources.Extensions.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Resources.Reader.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Resources.ResourceManager.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Resources.Writer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.CompilerServices.Unsafe.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.CompilerServices.VisualC.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Handles.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.InteropServices.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.InteropServices.JavaScript.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.InteropServices.RuntimeInformation.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Intrinsics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Loader.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Numerics.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Serialization.Formatters.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Serialization.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Serialization.Primitives.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Runtime.Serialization.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.AccessControl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Claims.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.Algorithms.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.Cng.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.Csp.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.Encoding.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.OpenSsl.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.Primitives.dll" /reference:C:\Users\pavel.nuget\packages\system.security.cryptography.protecteddata\5.0.0\ref\netstandard2.0\System.Security.Cryptography.ProtectedData.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Cryptography.X509Certificates.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.dll" /reference:C:\Users\pavel.nuget\packages\system.security.permissions\5.0.0\ref\net5.0\System.Security.Permissions.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Principal.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.Principal.Windows.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Security.SecureString.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ServiceModel.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ServiceProcess.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Text.Encoding.CodePages.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Text.Encoding.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Text.Encoding.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Text.Encodings.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Text.Json.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Text.RegularExpressions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Channels.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Overlapped.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Tasks.Dataflow.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Tasks.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Tasks.Extensions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Tasks.Parallel.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Thread.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.ThreadPool.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Threading.Timer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Transactions.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Transactions.Local.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.ValueTuple.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Web.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Web.HttpUtility.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Windows.dll" /reference:C:\Users\pavel.nuget\packages\system.windows.extensions\5.0.0\ref\netcoreapp3.0\System.Windows.Extensions.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.Linq.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.ReaderWriter.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.Serialization.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.XDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.XmlDocument.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.XmlSerializer.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.XPath.dll" /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\System.Xml.XPath.XDocument.dll" /reference:C:\Users\pavel.nuget\packages\telerik.ui.for.blazor\5.1.1\lib\net6.0\Telerik.Blazor.dll /reference:C:\Users\pavel.nuget\packages\telerik.datasource\3.0.1\lib\net6.0\Telerik.DataSource.dll /reference:C:\Users\pavel.nuget\packages\telerik.documents.core\2024.1.124\lib\netstandard2.0\Telerik.Documents.Core.dll /reference:C:\Users\pavel.nuget\packages\telerik.documents.spreadsheet\2024.1.124\lib\netstandard2.0\Telerik.Documents.Spreadsheet.dll /reference:C:\Users\pavel.nuget\packages\telerik.documents.spreadsheet.formatproviders.openxml\2024.1.124\lib\netstandard2.0\Telerik.Documents.Spreadsheet.FormatProviders.OpenXml.dll /reference:C:\Users\pavel.nuget\packages\telerik.documents.spreadsheet.formatproviders.xls\2024.1.124\lib\netstandard2.0\Telerik.Documents.Spreadsheet.FormatProviders.Xls.dll /reference:C:\Users\pavel.nuget\packages\telerik.documents.spreadsheetstreaming\2024.1.124\lib\netstandard2.0\Telerik.Documents.SpreadsheetStreaming.dll /reference:C:\Users\pavel.nuget\packages\telerik.fonticons\2.1.0\lib\netstandard1.1\Telerik.FontIcons.dll /reference:C:\Users\pavel.nuget\packages\telerik.pivot.core\0.1.1\lib\netstandard2.1\Telerik.Pivot.Core.dll /reference:C:\Users\pavel.nuget\packages\telerik.pivot.dataproviders.xmla\0.1.1\lib\netstandard2.1\Telerik.Pivot.DataProviders.Xmla.dll /reference:C:\Users\pavel.nuget\packages\telerik.recurrence\0.2.2\lib\netstandard2.0\Telerik.Recurrence.dll /reference:C:\Users\pavel.nuget\packages\telerik.svgicons\2.1.0\lib\netstandard1.1\Telerik.SvgIcons.dll /reference:C:\Users\pavel.nuget\packages\telerik.zip\2024.1.124\lib\netstandard2.0\Telerik.Zip.dll /reference:"C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\8.0.2\ref\net8.0\WindowsBase.dll" /out:C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-instances.dll /target:library /deterministic+ C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-instances.cs

[Microsoft.SqlServer.Types.dll] Exec (with response file contents expanded) in C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-in: MONO_PATH=C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-in;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.2\runtimes\browser-wasm\native;C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.Mono.browser-wasm\8.0.2\runtimes\browser-wasm\lib\net8.0 MONO_ENV_OPTIONS= C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Runtime.AOT.win-x64.Cross.browser-wasm\8.0.2\Sdk..\tools\mono-aot-cross.exe --wasm-exceptions --debug --llvm "--aot=no-opt,static,direct-icalls,deterministic,mattr=simd,dwarfdebug,llvm-path=C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.Emscripten.3.1.34.Sdk.win-x64\8.0.2\tools\bin,static,dedup-skip,llvmonly,interp,asmonly,llvm-outfile=C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\Microsoft.SqlServer.Types.dll.bc.tmp,temp-path=C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\Microsoft.SqlServer.Types.dll.tmp" "Microsoft.SqlServer.Types.dll"

C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.WebAssembly.Sdk\8.0.2\Sdk\WasmApp.Native.targets(686,5): Error : Precompiling failed for C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-in\Microsoft.SqlServer.Types.dll with exit code 1.

Failed to load method 0x6000001 from 'C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-in\Microsoft.SqlServer.Types.dll' due to Could not resolve type with token 01000010 from typeref (expected class 'Microsoft.Data.SqlClient.Server.IBinarySerialize' in assembly 'Microsoft.Data.SqlClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5') assembly:Microsoft.Data.SqlClient, Version=3.0.0.0, Culture=neutral, PublicKeyToken=23ec7fc2d6eaa4a5 type:Microsoft.Data.SqlClient.Server.IBinarySerialize member:(null).

Run with MONO_LOG_LEVEL=debug for more information.

AOT of image C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-in\Microsoft.SqlServer.Types.dll failed.

Mono Ahead of Time compiler - compiling assembly C:\Users\pavel\source\repos\ABCApps\ABCBlazor\obj\Release\net8.0\wasm\for-publish\aot-in\Microsoft.SqlServer.Types.dll

3>Build failed. Check the Output window for more details.


Original Comments

Feedback Bot on 3/7/2024, 10:58 PM:

(private comment, text removed)


Original Solutions

(no solutions)

Copy link
Contributor

Tagging subscribers to this area: @dotnet/area-infrastructure-libraries
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Mar 11, 2024
@troubleshootdoc
Copy link

We turned on the additional logging -- output in the attachment
turning on Mono_log_level.txt

@troubleshootdoc
Copy link

are there certain nuget packages that can not be AOT like microsoft.sqlclient.*? Is there a list anywhere of packages that can't be AOT?

@maraf
Copy link
Member

maraf commented Aug 13, 2024

The actual problem is incompatible versions of Microsoft.SqlServer.DacFx and Microsoft.Data.SqlClient

You can workaround by either upgrading Microsoft.SqlServer.DacFx to version compatible with Microsoft.Data.SqlClient version 5.0.0, or downgrading Microsoft.Data.SqlClient to version 3.0.0.

@maraf maraf closed this as completed Aug 13, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-Codegen-AOT-mono
Projects
None yet
Development

No branches or pull requests

5 participants