The template includes a post build event that copies the mission dll into the OP2 directory. This behavior is based off an older version of OP2 where all dlls were stored in the root game directory. Now that missions have moved to a subfolder, we may want to update this script.
@DanRStevens Do you know if we have documented anywhere what the actual behavior is for finding directories when the OPU patch is installed?
<PostBuildEvent>
<Command>if defined Outpost2Path (xcopy /y /d "$(TargetPath)" "$(Outpost2Path)\") else (echo Outpost2Path environment variable not defined. Skipping Post Build Copy.)</Command>
</PostBuildEvent>
<PostBuildEvent>
<Message>Copy mission DLL to game folder</Message>
</PostBuildEvent>
The template includes a post build event that copies the mission dll into the OP2 directory. This behavior is based off an older version of OP2 where all dlls were stored in the root game directory. Now that missions have moved to a subfolder, we may want to update this script.
@DanRStevens Do you know if we have documented anywhere what the actual behavior is for finding directories when the OPU patch is installed?