Skip to content

Instantly share code, notes, and snippets.

@SyntaxC4
Last active August 29, 2015 13:57

Revisions

  1. Cory Fowler revised this gist Mar 14, 2014. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions PostBuildEvent
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,2 @@
    rem Replace [WebProjectName] with the name of your Web Application project name
    xcopy "$(TargetDir)*.*" "$(SolutionDir)[WebProjectName]\App_Data\jobs\continuous\$(ProjectName)\" /y
  2. Cory Fowler created this gist Mar 14, 2014.
    11 changes: 11 additions & 0 deletions [ProjectName].wpp.targets
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,11 @@
    <?xml version="1.0" encoding="utf-8" ?>
    <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
    ToolsVersion="4.0">

    <ItemGroup>
    <FilesForPackagingFromProject Include="App_Data\jobs\**\*">
    <DestinationRelativePath>App_Data\jobs\%(RecursiveDir)%(FileName)%(Extension)</DestinationRelativePath>
    </FilesForPackagingFromProject>
    </ItemGroup>

    </Project>