2
0

download_sharpziplib.props 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
  3. <ImportGroup Label="PropertySheets">
  4. <Import Project="downloadpackage.task" Condition=" '$(downloadpackagetask_Imported)' == '' " />
  5. </ImportGroup>
  6. <PropertyGroup>
  7. <downloadSharpZipLibPropsImported>true</downloadSharpZipLibPropsImported>
  8. </PropertyGroup>
  9. <!--
  10. Download Target.
  11. Name must be unique.
  12. By design, targets are executed only once per project.
  13. Usage:
  14. package: URI
  15. expectfileordirectory: Skips the download and extraction if exists
  16. outputfolder: Folder to store a downloaded file.
  17. By default "$(BaseDir)libs", if empty
  18. outputfilename: If not empty, overrides filename from URI.
  19. .exe files don't get extracted
  20. extractto: Folder to extract an archive to
  21. archivecontains: Default value is "tarball", if empty.
  22. Any different non-empty value will disable double archive extraction
  23. -->
  24. <Target Name="SharpZipLibDownloadTarget" BeforeTargets="Build" DependsOnTargets="7za">
  25. <DownloadPackageTask
  26. package="http://files.freeswitch.org/downloads/libs/ICSharpCode.SharpZipLib.dll.bz2"
  27. expectfileordirectory="$(BaseDir)w32\Setup\CustomActions\Setup.CA.DownloadOpenH264\ICSharpCode.SharpZipLib.dll"
  28. outputfolder=""
  29. outputfilename=""
  30. extractto="$(BaseDir)w32\Setup\CustomActions\Setup.CA.DownloadOpenH264\"
  31. archivecontains="binary"
  32. />
  33. </Target>
  34. </Project>