Skip to content

Instantly share code, notes, and snippets.

@Zeex
Created July 1, 2012 13:05
Show Gist options
  • Save Zeex/3028374 to your computer and use it in GitHub Desktop.
Save Zeex/3028374 to your computer and use it in GitHub Desktop.
Visual Studio 2010+ project settings for plugin debugging
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerCommand>$(SAMP_SERVER_ROOT)\samp-server.exe</LocalDebuggerCommand>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<LocalDebuggerWorkingDirectory>$(SAMP_SERVER_ROOT)</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
</PropertyGroup>
<ItemDefinitionGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<PostBuildEvent>
<Command>cmd /c copy $(TargetPath) $(SAMP_SERVER_ROOT)\plugins\$(TargetFileName)</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment