Jump to content

Visual Studio Config Question


Recommended Posts

Visual Studio 2017 is new to me since I started playing KSP, all my programming experience is F77 and C from the command line. Mostly I just use VS to compile mods that seem broken, haven't been updated for the current release, a little debugging, or to make small changes to functionality when I don't like something about a mod. 

When I download a mod I've taken to wiping the included build events since the paths and sometimes commands used usually won't work on my system. I reset the output path to a C:\KSP_DEV\GameData\[ModName]\... tree that duplicates the mods folder structure. It's easy for me to use Beyond Compare with this tree against my game to see what's different instead of needing to dig into whatever folder structure the mod author uses for the dozen or so mods I've taken to compiling locally.

What I see is sometimes I only get the .dll in the output path, other times I get the .dll along with all the reference .dlls copied to the output path. I want to prevent copying the references to the output path. Can anyone tell me where the setting is that controls this? A screen shot would be nice. It seems to be the default behavior, but I've got a couple mods that don't copy the references so it should be configurable. I can't see what makes the ones that don't copy references unique from the ones that do and I've come up empty on Google. Most hits seem to be about how to do the opposite by including the references in the output path.

Link to comment
Share on other sites

  • 3 weeks later...

@HebaruSan I just wanted to close this out. Editing the .csproj file does work and was relatively easy to update the mods I compile locally.

I also found that inside the VS GUI this corresponds to Reference Properties: Copy Local = False. 

Edited by Tonka Crash
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...