mirror of
https://github.com/dfinke/ImportExcel.git
synced 2025-12-06 00:23:20 +00:00
Move DLL load into PSD1
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
#region import everything we need
|
||||
Add-Type -Path "$($PSScriptRoot)\EPPlus.dll"
|
||||
|
||||
try {[void] [System.Reflection.Assembly]::LoadWithPartialName("System.Drawing")}
|
||||
catch {Write-Warning -Message "System.Drawing could not be loaded. Color and font look-ups may not be available."}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user