Ludeon Forums

RimWorld => Mods => Help => Topic started by: Catatafish on January 20, 2017, 09:52:58 AM

Title: Need help Visual Studio with DLL
Post by: Catatafish on January 20, 2017, 09:52:58 AM
I'm trying to learn how to make a DLL that will allow incidents of escape pods and wanders to work with my Humanoid Alien Framework Faction Mod.  I've decompiled an Assembly that has the wander function in it and have opened the project into Visual Studio.  I have the references for AlienRace.dll, Assembly-CSharp, and UnityEgine with the correct framework.  Without making any changes when I compile the project it error's out with Identifier expected errors and invalid token errors.  I think I'm missing the references to the mod files, but if that is the case I don't know how to do that properly.  Can anyone give me some help?
Title: Re: Need help Visual Studio with DLL
Post by: mrofa on January 20, 2017, 05:16:13 PM
did you add  "using" for specific dlls to your class ?
Title: Re: Need help Visual Studio with DLL
Post by: RawCode on January 20, 2017, 10:51:08 PM
you are missing libastral reference in your project, without it we can't see your code via astral flow.
Please install libastral or post your code.