Skip to content
Discussion options

You must be logged in to vote

Update: This is now being tracked in dotnet/runtime#79354.

In addition to the workaround upthread, you can also avoid this problem by disabling the interpreter. Add <UseInterpreter>False</UseInterpreter> to the initial PropertyGroup in your .csproj file, and AutoMapper will work just fine. The downside is that C# Hot Reload won't work.

The interpreter is disabled by default in Release mode, so Release builds shouldn't run into this issue.

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@busec0
Comment options

@hartez
Comment options

@rotovei-sage
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Redth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants