Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Newtonsoft.Json to the list of assemblies available in CLI scripts #1718

Merged
merged 1 commit into from
Apr 7, 2024
Merged

Add Newtonsoft.Json to the list of assemblies available in CLI scripts #1718

merged 1 commit into from
Apr 7, 2024

Conversation

Marioalexsan
Copy link
Contributor

Description

Scripts that use Newtonsoft.Json for parsing JSON files fail to execute when using UndertaleModCli. Unlike the GUI tool, the CLI does not add the assembly to the references available to scripts.

This PR fixes that by adding said reference.

Caveats

Adds Newtonsoft.Json as a dependency to the CLI.

@Miepee
Copy link
Contributor

Miepee commented Mar 30, 2024

Ideally would be nice to use system.json in the future, but that would require first the GUI to not rely on it.

@BenjaminUrquhart BenjaminUrquhart self-requested a review April 7, 2024 08:25
@BenjaminUrquhart BenjaminUrquhart merged commit 5041dd3 into UnderminersTeam:master Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants