Registering WinSCPnet.dll
I am trying run your application in PowerShell, but have tried in VS 2013. The steps I have followed are below:
I have attempted to register the dll, and it always says it has successfully done.
I am using Windows 7 Pro 64 bit.
When I tried this at home with my 8.1 Windows machine it worked fine. The Windows 7 machine is at work, and I have full admin rights on the machine. I am a admin on our Domain.
I have tried the:
and it says successful, and tried it without the
When I try:
I get the following:
I have tried running in a number of files. Tried the Unblock in the dll. Checked the Registry and it shows it is in there, but not sure what I should see.
I would like to iterate I am not a developer, just trying to get things done with limited budgets.
I have attempted to register the dll, and it always says it has successfully done.
I am using Windows 7 Pro 64 bit.
When I tried this at home with my 8.1 Windows machine it worked fine. The Windows 7 machine is at work, and I have full admin rights on the machine. I am a admin on our Domain.
I have tried the:
%WINDIR%\Microsoft.NET\Framework64\v4.0.30319\RegAsm.exe WinSCPnet.dll /codebase /tlb
64
. They both say successful.
When I try:
AddType -Path "WinSCOnet.DLL"
Add-Type : Could not load file or assembly 'file:///C:\allmystuff\Powershell Script\WinSCPnet.DLL' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515) At line:1 char:3 + Add-Type -Path "WinSCPnet.DLL" + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: (:) [Add-Type], FileLoadException + FullyQualifiedErrorId : System.IO.FileLoadException,Microsoft.PowerShell.Commands.AddTypeCommand
I would like to iterate I am not a developer, just trying to get things done with limited budgets.