code_junkie

xcopy ASP.NET deployment of a Subversion-managed project

Nov 11th, 2011
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. Windows Registry Editor Version 5.00
  2.  
  3. [HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellDeleteSVN]
  4. @="Delete SVN Folders"
  5.  
  6. [HKEY_LOCAL_MACHINESOFTWAREClassesFoldershellDeleteSVNcommand]
  7. @="cmd.exe /c "TITLE Removing SVN Folders in %1 && COLOR 9A && FOR /r "%1" %%f IN (.svn) DO RD /s /q "%%f" ""
  8.  
  9. <PropertyGroup>
  10. <DropPath>....drop</DropPath>
  11. <TestDropPath>....test</TestDropPath>
  12. </PropertyGroup>
  13. <Target Name="AfterBuild">
  14. <ItemGroup>
  15. <Binaries Include="$(OutputPath)***.*" />
  16. </ItemGroup>
  17. <ConvertToAbsolutePath Paths="$(DropPath)">
  18. <Output TaskParameter="AbsolutePaths" ItemName="FullDropPath" />
  19. </ConvertToAbsolutePath>
  20. <Message Importance="High" Text="Binplacing -> @(FullDropPath)" />
  21. <Copy SourceFiles="@(Compile)" DestinationFiles="@(Compile->'$(DropPath)%(Identity)')" />
  22. <Copy SourceFiles="@(Content)" DestinationFiles="@(Content->'$(DropPath)%(Identity)')" />
  23. <Copy SourceFiles="@(EntityDeploy)" DestinationFiles="@(EntityDeploy->'$(DropPath)%(Identity)')" />
  24. <Copy SourceFiles="@(Binaries)" DestinationFiles="@(Binaries->'$(DropPath)%(Identity)')" />
  25. </Target>
Add Comment
Please, Sign In to add comment