Quantcast

Jump to content

» «
Photo

Configuring VS so my DLL/.NET Script Always Gets Put in my Scripts Folder on New Build?

1 reply to this topic
OfficerJohnson
  • OfficerJohnson

    Crackhead

  • Members
  • Joined: 07 Jan 2018
  • United-States

#1

Posted 3 weeks ago

Hello all. If that was a bit confusing, let me explain.

 

It's a bit of a pain to build the DLL, tab out, minimize game window, grab DLL, place in folder, de-minimize game window, reload scripts, then test.Is there a way to allow Visual Studio to place my newly built DLL/script into my scripts folder automatically to lessen all that?

  • nm710 likes this

Jitnaught
  • Jitnaught

    Grass tastes bad

  • Members
  • Joined: 24 Aug 2013
  • United-States

#2

Posted 3 weeks ago

Put this in your Post Build Event:

copy /Y "$(TargetPath)" "C:\Program Files (x86)\Steam\steamapps\common\Grand Theft Auto V\scripts\$(TargetFileName)"

If you're using the Rockstar Warehouse version of the game then you'll need to change the directory.

  • nm710 and OfficerJohnson like this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users