Link to home
Start Free TrialLog in
Avatar of RIAS
RIASFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Register assembly with GACUTIL.EXE

Hello Experts,
How to use add WinSCP.net.dll to gacutil.exe. Iam using VS2019 . I am getting this error when I try to register it.

C:\Windows\System32>gacutil.exe/i WinSCPnet.dll
Microsoft (R) .NET Global Assembly Cache Utility.  Version 4.0.30319.0
Copyright (c) Microsoft Corporation.  All rights reserved.

Failure adding assembly to the cache:   The system cannot find the file specified.
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

not really using GACUTIL.EXE that frequent, but are both gacutil.exe and WinSCPnet.dll found in : C:\Windows\System32 ?

you may also try to run the command in Administrator mode.
Avatar of RIAS

ASKER

Thanks, will check that
Avatar of RIAS

ASKER

When I open the vs command prompt it point to that folder
But, they are actually
C:\Program Files (x86)\Microsoft SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\gacutil.exe
Avatar of RIAS

ASKER

How do I proceed ?
ASKER CERTIFIED SOLUTION
Avatar of Ryan Chong
Ryan Chong
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RIAS

ASKER

Thanks, basically I am trying to register WinSCPNet.dll so can run the .dts package in SSMS.
Avatar of RIAS

ASKER

Perfect!! It did get registered!! Thanks a lot!!