Missing method for GDPictureimaging dot net
Posted: Wed Mar 27, 2019 11:46 pm
Hi, I successfully tested a Powershell script to modify a TIF image in one windows Machine but when I try it on another I get a message saying:
[GdPitcure14.GdPictureImaging] does not contain a method named 'new'
Here is the code:
---------------------------------------------------------------------------------------------------
add-type -Path "C:\users\allan martin\desktop\GdPicture.NET.14.dll"
$GB = [GdPicture14.GdPictureImaging]::new()
---------------------------------------------------------------------------------------------------
This works on one machine and it auto fills after the '::' to give me three options (Equals, new, ReferenceEquals)
however on the other machine it only auto fills after the '::" with 2 options (Equals, ReferenceEquals).
I added 2 screenshots attached.
I checked both dot net versions in the windows registry and they both say: v4.0.30319
Sorry but not experienced with dot net.
[GdPitcure14.GdPictureImaging] does not contain a method named 'new'
Here is the code:
---------------------------------------------------------------------------------------------------
add-type -Path "C:\users\allan martin\desktop\GdPicture.NET.14.dll"
$GB = [GdPicture14.GdPictureImaging]::new()
---------------------------------------------------------------------------------------------------
This works on one machine and it auto fills after the '::' to give me three options (Equals, new, ReferenceEquals)
however on the other machine it only auto fills after the '::" with 2 options (Equals, ReferenceEquals).
I added 2 screenshots attached.
I checked both dot net versions in the windows registry and they both say: v4.0.30319
Sorry but not experienced with dot net.