Jump to content

Help me update mod to v0.23.5


Recommended Posts

Im using Visual basic 2012 express.

So i want to update haystack 0.2.2 to be compatible with v0.23.5, all i get is:

Error 1 The type or namespace name 'KSP' could not be found (are you missing a using directive or an assembly reference?) \Desktop\KSP-Haystack-Plugin-0.0.2.2\VS_Solution\HrmHaystack\HrmHaystack.cs 7 7 HrmHaystack

Error 7 'System.ConfigNode' is inaccessible due to its protection level \Desktop\KSP-Haystack-Plugin-0.0.2.2\VS_Solution\HrmHaystack\HrmHaystack.cs 36 31 HrmHaystack

Error 15 The type or namespace name 'Vessel' could not be found (are you missing a using directive or an assembly reference?) ​\Desktop\KSP-Haystack-Plugin-0.0.2.2\VS_Solution\HrmHaystack\HrmHaystack.cs 252 11 HrmHaystack

and numerous others.

No changes were made when downloaded

Same result after placing required references from my ksp game directory into \Desktop\KSP-Haystack-Plugin-0.0.2.2\VS_Solution\HrmHaystack\References

Link to comment
Share on other sites

You'll need to reference two DLLs in your project:

(KSP)/KSP_Data/Managed/Assembly-CSharp.dll and

(KSP)/KSP_Data/Managed/UnityEngine.dll

Note that you need to actually set that up *in* Visual Studio: on the Solution Explorer, right-click on the project and choose add reference, then browse to the file.

Here's a good setup from the wiki; AFAIK it's still current.

http://wiki.kerbalspaceprogram.com/wiki/Setting_up_Visual_Studio

Link to comment
Share on other sites

You'll need to reference two DLLs in your project:

(KSP)/KSP_Data/Managed/Assembly-CSharp.dll and

(KSP)/KSP_Data/Managed/UnityEngine.dll

Note that you need to actually set that up *in* Visual Studio: on the Solution Explorer, right-click on the project and choose add reference, then browse to the file.

Here's a good setup from the wiki; AFAIK it's still current.

http://wiki.kerbalspaceprogram.com/wiki/Setting_up_Visual_Studio

Thank you! Spent good 4:15 hours searching on the internet and the problem was just wrong dll files from Launcher_Data.

Link to comment
Share on other sites

Sudslv,

I noticed you posted a couple times in a row. Just so you know, posts by new members go through a mod approval process. It's to make sure you aren't a spam bot. So for your first few posts you might have to be a little patient for them to show up.

It's nice to see that you are already helping the community. I'm looking forward to what you create.

Welcome to the forums. :D

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