Home > Net >  Unable to get assembly type of the installation program
Unable to get assembly type of the installation program

Time:09-15

Orientation:
Projects need to have the new data, according to the data of time, automatically intercept sea surveillance cameras, network connection of the video on the hard disk video recorder, and uploaded to the FTP server,
Solution:
Monitoring in c # to write a Windows service, do you have a new data, when there are new data, then call hikvision SDK download time period specified channel video documents specified in the hard disk video recorder, after the completion of the upload FTP server again;
Problem:
Windows service is already written, but at the time of installation services for errors, tip: don't have access to E: \ TradeService \ ServiceControl \ bin \ GetDataService exe program type, the installation program (including ServiceControl when doing a service to install, uninstall, and other control Winform, GetDataService. Exe is write their own implementation of the function requirements of the service), in the service load by means of dllimport hai kang's official website to provide DLL SDK bag, if I put through the statements to remove dllinport loading hai kang DLL, can install service,
This don't know how to solve, the great god, please help
  •  Tags:  
  • C#
  • Related