Jump to content

Using ConfigNode outside KSP


Recommended Posts

So, I'm writing a unit test for a plugin I'm working on. The test method needs to load a config node, but apparently you can't do that outside of KSP: the call to ConfigNode.Load() fails with the awesome exception:


ECall methods must be packaged into a system module

which, after googling a little, boils down to "you are screwed". Has anybody had any success in using ConfigNode outside KSP? Is it even possible, or do I really need to write a replacement parser? Please no :/

Link to comment
Share on other sites

  • 3 weeks later...
This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...