Skip to content

Instantly share code, notes, and snippets.

View DanRigby's full-sized avatar

Dan Rigby DanRigby

View GitHub Profile
@DanRigby
DanRigby / gist:2591628
Created May 4, 2012 03:02
Handling compiled content files (*.xnb) for an XNA/MonoGame codebase
  • Create a folder named Content under the Project Folder.

  • Add to the XNA Windows project file:

    <PropertyGroup>
        <PostBuildEvent>xcopy "$(ProjectDir)$(OutDir)Content\*.*" "$(ProjectDir)Content" /S /I /R /Y</PostBuildEvent>
    </PropertyGroup>