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
EXEC : error : Failed to load assembly 'Microsoft.Maui.Controls' [/home/svbomer/src/test-apps/crashes/crashes.csproj]
Internal.TypeSystem.TypeSystemException+FileNotFoundException: Failed to load assembly 'Microsoft.Maui.Controls'
at Internal.TypeSystem.ThrowHelper.ThrowFileNotFoundException(ExceptionStringID, String) + 0x30
at Internal.TypeSystem.ResolutionFailure.Throw() + 0xfd
at Internal.TypeSystem.Ecma.EcmaType.InitializeBaseType() + 0x1da
at ILCompiler.DependencyAnalysis.TypeMetadataNode.GetStaticDependencies(NodeFactory) + 0x186
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependenciesImpl(DependencyNodeCore`1) + 0x3f
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.GetStaticDependencies(DependencyNodeCore`1) + 0x33
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ProcessMarkStack() + 0xff
at ILCompiler.DependencyAnalysisFramework.DependencyAnalyzer`2.ComputeMarkedNodes() + 0x4f
at ILCompiler.ILScanner.ILCompiler.IILScanner.Scan() + 0x19
at ILCompiler.Program.<Run>g__RunScanner|4_0(Program.<>c__DisplayClass4_0&) + 0x1fa
at ILCompiler.Program.Run() + 0x29cc
at ILCompiler.ILCompilerRootCommand.<>c__DisplayClass240_0.<.ctor>b__0(ParseResult result) + 0x35a
#103844 adds a test for this (disabled for Native AOT).
The text was updated successfully, but these errors were encountered:
Do a couple more upfront checks to trigger exceptions when it's recoverable. Fixesdotnet#103843.
We still eventually crash when generating debug information since we don't have fine grained tracking of what parts of the type we looked at. The user would need to drop debug info generation, or stop feeding us garbage.
Discovered while investigating a similar linker failure in #93797. Repro:
app.csproj
:dotnet publish
Stack trace from the output:
#103844 adds a test for this (disabled for Native AOT).
The text was updated successfully, but these errors were encountered: