Jump to content

Setting up for plugin development - New Developer Question


Recommended Posts

Ok, so I'll get straight to it: do you need to load up Unity and then PartTools if you're only going to be coding a plugin (i.e. without any parts added)?

I set up Xamarin (formerly MonoDevelop, it says) on my machine, installed the Mono frameworks, and pointed my project to pull the UnityEngine.dll inside the KSP app. But, the code I'm using (from another plugin at the moment, I'm still learning C#) references KSP.IO, and the compile failed saying KSP.IO couldn't be found. More errors were there, but I think they're all related to this anyway.

So I came to two possible conclusions: 1) I need Unity and PartTools to have that namespace, 2) I just have no idea where the file that creates that namespace is.

And maybe I'm just too new at this to know any better! :) Either way, any help would be greatly appreciated!

Link to comment
Share on other sites

Hm, I've just set up Visual Studio Express and pointed to UnityEngine.dll as well as Assembly-CSharp.dll - works for me.

I knew it was something simple. I pointed to the Assembly-CSharp.dll and the errors went taken care of. Well, at least the ones my coding didn't induce! Thanks for the tip.

Link to comment
Share on other sites

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...