-
-
Notifications
You must be signed in to change notification settings - Fork 299
Open
Description
Describe the bug
The mod is not being loaded by SMAPI. The SMAPI log indicates that the mod's DLL file could not be loaded. This issue appears to be specifically caused by the Grpc.AspNetCore dependency. It has been confirmed that using other dependencies in the mod project does not cause this problem, isolating the issue to Grpc.AspNetCore or how SMAPI interacts with it.
To Reproduce
Steps to reproduce the behavior:
- Create a SMAPI mod project.
- Add the
<PackageReference Include="Grpc.AspNetCore" Version="2.71.0" />to the mod's.csprojfile. - Write code which using
Grpc.AspNetCore
public override void Entry(IModHelper helper) {
var builder = WebApplication.CreateBuilder();
}- Build the mod and run.
- Observe the SMAPI console output, which will show that the mod has been skipped.
Expected behavior
The mod should be loaded successfully by SMAPI, even with the Grpc.AspNetCore package reference included, just as it does with other dependencies.
Log file
Here is the relevant part of the SMAPI log:
[SMAPI] Skipped mods
[SMAPI] --------------------------------------------------
[SMAPI] These mods could not be added to your game.
[SMAPI] - JunimoRPC 1.0.0 because its DLL couldn't be loaded.
A full log can be provided if necessary.
Metadata
Metadata
Assignees
Labels
No labels