0

I have a DLL developed in C# that is used by several other apps of ours loaded by reflection at runtime, DLL is automatically deployed by Jenkins to some servers and other times installed mannually, the problem is that when I download the DLL it gets blocked and cannot be loaded at runtime. I already know that if you right click the DLL file and select properties, a unblock checkbox or button is availiable which allows to resolve the problem manually, but that solutions doesn't sufice for massive deployments, so I'd like to know if someone can suggest doing something (signing the DLL or similar) to be able to deploy it without the blocking problem

Already know that if you right click the DLL file and select properties, a unblock checkbox or button is availiable which allows to resolve the problem manually

Expected result is to download the DLL or deploy via Jenkins and have a normal operations without being blocked having without having to do further actions since sometimes non experts have to install DLL manually

Diego Satizabal
  • 119
  • 1
  • 7

1 Answers1

0

You can try running this command after the dll has been downloaded.

echo.>yourDll.dll:Zone.Identifier
spodger
  • 1,668
  • 1
  • 12
  • 16
  • That might help, but I need to void blocking at all with no further actions required if possible, thanks for your response! – Diego Satizabal Apr 24 '19 at 12:57
  • Yeah, I don't know how you're downloading the Dll but if you can somehow script that as part of the download it would require no user intervention. – spodger Apr 24 '19 at 13:03