Hi,
I need to call sn.exe (twice) as shown below:
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\sn.exe" -R MyInterop.dll My.pfx
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\sn.exe" -R MyInterop.dll My.pfx
Calling the sn.exe is breaking the automation because sn.exe asks for the password of the pfx file.
I saw someone suggest:
echo ThePassword|sn.exe -R MyInterop.dll My.pfx but this does not work because when you issue a subsequent "sn.exe -V", it is still delay-signed but when you type the password on the keyboard, then the "sn.exe -V" says the dll is valid.
Thanks in advance.
Anthony LaMark