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
I followed the instructions in the README but the published Native AOT fails for WebView2. I installed it via Nuget, why cant it find it when Publishing ? Works without publishing fine
Failed to load assembly 'Microsoft.Web.WebView2.WinForms.WebView2'
1>Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'Microsoft.Web.WebView2.WinForms.WebView2'
1> at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) in //src/coreclr/tools/Common/TypeSystem/Common/ThrowHelper.cs:line 35
1> at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String, Boolean ) in //src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 121
1> at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in //src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 62
1> at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in //src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 47
1> at ILCompiler.Compilation..ctor(DependencyAnalyzerBase1, NodeFactory, IEnumerable1, ILProvider, DebugInformationProvider, DevirtualizationManager, IInliningPolicy, Logger) in //src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Compilation.cs:line 64
1> at ILCompiler.ILScannerBuilder.ToILScanner() in //src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ILScannerBuilder.cs:line 83
1> at ILCompiler.Program.g__RunScanner|73_4(<>c__DisplayClass73_0&) in //src/coreclr/tools/aot/ILCompiler/Program.cs:line 884
1> at ILCompiler.Program.Run(String[]) in //src/coreclr/tools/aot/ILCompiler/Program.cs:line 866
1> at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
The text was updated successfully, but these errors were encountered:
I followed the instructions in the README but the published Native AOT fails for WebView2. I installed it via Nuget, why cant it find it when Publishing ? Works without publishing fine
Failed to load assembly 'Microsoft.Web.WebView2.WinForms.WebView2'
1>Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'Microsoft.Web.WebView2.WinForms.WebView2'
1> at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) in //src/coreclr/tools/Common/TypeSystem/Common/ThrowHelper.cs:line 35
1> at ILCompiler.CompilerTypeSystemContext.GetModuleForSimpleName(String, Boolean ) in //src/coreclr/tools/Common/Compiler/CompilerTypeSystemContext.cs:line 121
1> at ILCompiler.RdXmlRootProvider.ProcessAssemblyDirective(IRootingServiceProvider, XElement) in //src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 62
1> at ILCompiler.RdXmlRootProvider.AddCompilationRoots(IRootingServiceProvider) in //src/coreclr/tools/aot/ILCompiler/RdXmlRootProvider.cs:line 47
1> at ILCompiler.Compilation..ctor(DependencyAnalyzerBase
1, NodeFactory, IEnumerable
1, ILProvider, DebugInformationProvider, DevirtualizationManager, IInliningPolicy, Logger) in //src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/Compilation.cs:line 641> at ILCompiler.ILScannerBuilder.ToILScanner() in //src/coreclr/tools/aot/ILCompiler.Compiler/Compiler/ILScannerBuilder.cs:line 83
1> at ILCompiler.Program.g__RunScanner|73_4(<>c__DisplayClass73_0&) in //src/coreclr/tools/aot/ILCompiler/Program.cs:line 884
1> at ILCompiler.Program.Run(String[]) in //src/coreclr/tools/aot/ILCompiler/Program.cs:line 866
1> at ILCompiler.Program.Main(String[]) in /_/src/coreclr/tools/aot/ILCompiler/Program.cs:line 1150
The text was updated successfully, but these errors were encountered: