You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

22 lines
825 B

  1. param($installPath, $toolsPath, $package, $project)
  2. # set dll to copy to build dir
  3. $wkdll = $project.ProjectItems.Item("wkhtmltox0.dll")
  4. $copyToOutput = $wkdll.Properties.Item("CopyToOutputDirectory")
  5. $copyToOutput.Value = 1
  6. # and each of the dependencies
  7. $dep1 = $project.ProjectItems.Item("libeay32.dll")
  8. $dep2 = $project.ProjectItems.Item("libgcc_s_dw2-1.dll")
  9. $dep3 = $project.ProjectItems.Item("mingwm10.dll")
  10. $dep4 = $project.ProjectItems.Item("ssleay32.dll")
  11. $copyToOutput1 = $dep1.Properties.Item("CopyToOutputDirectory")
  12. $copyToOutput1.Value = 1
  13. $copyToOutput2 = $dep2.Properties.Item("CopyToOutputDirectory")
  14. $copyToOutput2.Value = 1
  15. $copyToOutput3 = $dep3.Properties.Item("CopyToOutputDirectory")
  16. $copyToOutput3.Value = 1
  17. $copyToOutput4 = $dep4.Properties.Item("CopyToOutputDirectory")
  18. $copyToOutput4.Value = 1