OK, I'm making progress on this security stuff. I created a strong name and signed the application manifest. I also signed the common dll that has many of the functions I use. The application is a console app, without an install program. I tried copying the exe from the Release folder and put it with a copy of the dll on the server. When run from the network share I got this error;
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'CybertecClasses, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'CybertecClasses, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null'
at AuthorizationReport.AuthorizationReport.ProcessCommandLine(String[] args)
at AuthorizationReport.AuthorizationReport.Main()
In a situation like this with a console app. How do I get the necessary dll to match the manifest?
Also is there a tool that will test the manifest without having to upload it to the customer server and try to run it?
Thanks,
Bernie
Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'CybertecClasses, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040) File name: 'CybertecClasses, Version=1.0.0.3, Culture=neutral, PublicKeyToken=null'
at AuthorizationReport.AuthorizationReport.ProcessCommandLine(String[] args)
at AuthorizationReport.AuthorizationReport.Main()
In a situation like this with a console app. How do I get the necessary dll to match the manifest?
Also is there a tool that will test the manifest without having to upload it to the customer server and try to run it?
Thanks,
Bernie