© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•17mo ago•
9 replies
HMath343

Integration Test issue on ubuntu-latest (.NET 8)

Hi,

While running the basic example for integration tests with WebApplicationFactory in a .net8 (8.0.303) web api on ubuntu pipeline (https://learn.microsoft.com/en-us/aspnet/core/test/integration-tests?view=aspnetcore-8.0

I'm getting this exception :
[xUnit.net 00:00:00.79]   Starting:    IntegrationTests
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      System.IO.FileLoadException: Undefined resource string ID:0x80131621
         at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target)
[xUnit.net 00:00:00.79]   Starting:    IntegrationTests
fail: Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      System.IO.FileLoadException: Undefined resource string ID:0x80131621
         at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType, Object target)


I've found this issue : https://github.com/dotnet/runtime/issues/101581

Any hints / more information ?
Integration tests in ASP.NET Core
Learn how integration tests ensure that an app's components function correctly at the infrastructure level, including the database, file system, and network.
Integration tests in ASP.NET Core
GitHub
System.IO.FileLoadException: Undefined resource string ID:0x8013162...
Description Observe that client.GetAsync errors out with the following error message: System.IO.FileLoadException: Undefined resource string ID:0x80131621. This issue only occurs when both conditio...
System.IO.FileLoadException: Undefined resource string ID:0x8013162...
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

✅ Installing .NET on Ubuntu
C#CC# / help
3y ago
.net 10 SDK on ubuntu 24
C#CC# / help
3mo ago
Blazor, Bootstarp and .net 8 issue
C#CC# / help
3y ago
Issue with xUnit and Integration Test
C#CC# / help
15mo ago