Jump to content

Some help in compiling and stuff


Recommended Posts

Your first two options are likely to be 1) Visual Studio and b) Visual Code.

Visual Code is free and runs on Linux as well.  (Whether it will handle all the vagaries (special cases) for a Unity build, etc etc, is something I have not personally tried so can't guarantee.)

Edited by Hotel26
Link to comment
Share on other sites

  On 5/10/2020 at 2:40 PM, VoidCosmos said:

So I am planning to adopt a mod. I have the source files etc. My question is, how do I convert the .cs and the .csproj files into a .dll files? What should I do exactly?

Expand  

Usually it goes like:

  1. Double click the .sln file (or the .csproj file if there is no .sln file)
  2. Run the "build" or "compile" option in the menus
  3. Start fixing errors (typically references, usually the original developer's KSP folder is in a different location than yours)
Link to comment
Share on other sites

  On 5/10/2020 at 6:07 PM, HebaruSan said:

Usually it goes like:

  1. Double click the .sln file (or the .csproj file if there is no .sln file)
  2. Run the "build" or "compile" option in the menus
  3. Start fixing errors (typically references, usually the original developer's KSP folder is in a different location than yours)
Expand  

And that's it?

Link to comment
Share on other sites

I am getting this error:

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/11/2020 at 12:04 PM, VoidCosmos said:

I am getting this error:

-snip-

Expand  

The project you're trying to compile was originally for an older version of KSP and was made on .NET Framework 3.5. For newer versions, you'll want to go to the project settings and the build menu(I think, can't remember for sure) and change it to run on any version 4.x.

Once you've done that, it should compile.

Link to comment
Share on other sites

  Reveal hidden contents

 

Link to comment
Share on other sites

  On 5/11/2020 at 5:55 PM, HebaruSan said:

.mdb and .pdb files contain symbols used for debugging. The compiler generates them automatically in case you need them.

Expand  

So it's genarated automatically? Right?

  On 5/11/2020 at 5:34 PM, Kartoffelkuchen said:

Can't help with the errors you're getting, but you should actually be able to update and maintain a mod before you say that you want to adopt it. Just my 50c. :)

Expand  

I am trying to push myself into a pool and learn to swim. I have even adopted a part mod. I learnt something from that atleast

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