Skip to content

Assembly Exception on new Microsoft.AspNetCore.App #414

@Jed5729

Description

@Jed5729

Version

C# REPL 0.6.7+d2955f13e744320cd6331c484e1286c3ed4f8612

What happened?

I just installed csharprepl as directed, ran csharprepl --trace -f Microsoft.AspNetCore.App in this most recent case.

The exact and only things I put in were as follows
using Microsoft.AspNetCore.Builder;
var builder = WebApplication.CreateBuilder(); <-- Error occurred after enter here

FileLoadException: Could not load file or assembly 'Microsoft.Extensions.Primitives, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The located assembly's manifest definition does not match the assembly reference. (0x80131040)

Image

If it matters here are my installed runtimes for dotnet

Image

Here is the trace log
csharprepl-tracelog-2025-09-24.txt

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions