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

Won't compile with latest VS2019/ .Net Core 3.0 / .Net Standard 2.1: Fatal error in IL Linker #20

Open
twickl opened this issue Nov 15, 2019 · 1 comment

Comments

@twickl
Copy link

twickl commented Nov 15, 2019

Hi,

I'm not able to compile Worddaze with the latest VS2019/ .Net Core 3.0 / .Net Standard 2.1. First of all the following changes where needed:

  • IUriHelper hast to be changed to NavigationManager
  • Login.razor and PostEditor.razor had to be changed

Now, the following Error occurs while compiling:

2>Fatal error in IL Linker
2>
2>Unhandled Exception: Mono.Cecil.ResolutionException: Failed to resolve Microsoft.JSInterop.JSInProcessRuntimeBase
2> at Mono.Linker.Steps.MarkStep.HandleUnresolvedType(TypeReference reference)
2> at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
2> at Mono.Linker.Steps.MarkStep.MarkType(TypeReference reference)
2> at Mono.Linker.Steps.MarkStep.InitializeType(TypeDefinition type)
2> at Mono.Linker.Steps.MarkStep.InitializeAssembly(AssemblyDefinition assembly)
2> at Mono.Linker.Steps.MarkStep.Initialize()
2> at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
2> at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
2> at Mono.Linker.Pipeline.Process(LinkContext context)
2> at Mono.Linker.Driver.Run(ILogger customLogger)
2> at Mono.Linker.Driver.Execute(String[] args, ILogger customLogger)
2> at Mono.Linker.Driver.Main(String[] args)

Any Idea on how to solve this Error?

@chrissainty
Copy link
Owner

chrissainty commented Nov 19, 2019

This sample is a bit out of date now. I tend to rely on the community to keep it up to date as I struggle to find the time. I'll add it to my list to look over when I can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants