spregpkg error in Boylan
Posted: Fri Feb 04, 2011 6:39 pm
I'm currently building my VS solution w/ the Boylan client version - during my build I register my custom print handler package. The following is my post build event for the dll build:
copy $(TargetFileName) "C:\Program Files\SoftPro\Select\"
"C:\Program Files\SoftPro\Select\spregpkg.exe" /m:register /p:$(TargetFileName) /rootsuffix:Exp
"C:\Program Files\SoftPro\Select\Select.exe" /setup /rootsuffix:Exp
I get the commanded ... exited with code -1.
So I went out to DOS to C:\Program Files\SoftPro\Select folder and issued the command:
spregpkg /m:register /p:PrintHandlerPackage.DLL
It yielded the following:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions
property for more information.
I'm not sure what's going on this has pretty much worked ever since the parameters for spregpkg from /r: to /m:register - which has been over a year ago. I haven't changed any code in my DLL and it still builds fine.
Any help would be greatly appreciated!
copy $(TargetFileName) "C:\Program Files\SoftPro\Select\"
"C:\Program Files\SoftPro\Select\spregpkg.exe" /m:register /p:$(TargetFileName) /rootsuffix:Exp
"C:\Program Files\SoftPro\Select\Select.exe" /setup /rootsuffix:Exp
I get the commanded ... exited with code -1.
So I went out to DOS to C:\Program Files\SoftPro\Select folder and issued the command:
spregpkg /m:register /p:PrintHandlerPackage.DLL
It yielded the following:
Unable to load one or more of the requested types. Retrieve the LoaderExceptions
property for more information.
I'm not sure what's going on this has pretty much worked ever since the parameters for spregpkg from /r: to /m:register - which has been over a year ago. I haven't changed any code in my DLL and it still builds fine.
Any help would be greatly appreciated!