Skip to content

[BUG] Bug report: Cannot use some system libraries or nuget packages #133

@Naganamin

Description

@Naganamin

Describe the Bug :

I use System.Text.Json and the NuGet package CsvHelper to process some data files for my mods, but the mod launcher cannot build the sml file.

Steps To Reproduce :

  • Create a mod project using ModShardLauncher.Template
  • Use System.Text.Json or code from NuGet packages
  • dotnet build build the project normally
  • Use the launcher to build the project to sml fie, it failed with this error:
[22:37:55 ERR] Cannot understand type System.Text.Json of variable System.Text.Json
[22:37:55 ERR] Cannot understand type System.Text.Json of variable Json
[22:37:55 ERR] Cannot understand type CsvHelper of variable CsvHelper
[22:37:55 ERR] Cannot understand type CsvHelper.Configuration of variable CsvHelper.Configuration
[22:37:55 ERR] Cannot understand type CsvHelper of variable CsvHelper
[22:37:55 ERR] Cannot understand type CsvHelper.Configuration of variable Configuration
[22:37:55 ERR] Cannot understand type ? of variable JsonSerializer
[22:37:55 ERR] Cannot understand type CsvReader of variable var
[22:37:55 ERR] Cannot understand type CsvReader of variable csv
[22:37:55 ERR] Cannot understand type ? of variable Context
[22:37:55 ERR] Cannot understand type CsvReader of variable csv
[22:37:55 ERR] Cannot understand type CsvHelper.Configuration of variable CsvHelper.Configuration
[22:37:55 ERR] Cannot understand type CsvHelper of variable CsvHelper
[22:37:55 ERR] Cannot understand type CsvHelper.Configuration of variable Configuration

Expected Behavior :

The launcher can build the project to sml file.

Additional Information :

  • MSL Version : 0.13.2.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions