I trying to load a dll that is installed in the gac but want to be able to specify just the major version in the assembly name parameter. like this
$wpname=“assemName, Version=6., Culture=neutral, PublicKeyToken=be44eff3c954219b"
$wpname="assemName, Version=6..., Culture=neutral, PublicKeyToken=be44eff3c954219b”
I use this in a .psm1 file and want to be able to patch the dll with a new minor version without having to burden users with finding and replacing all the .psm1 files as well.
When I look at the doc for addtype it says it accepts wildcards for the name, but I suspect that means only for the standard windows dll’s.
is this possible? or am I just wasting my time?