利用插件整理代码,排序和移除不需要的引用。小心.Net2/.Net4的兼容问题
namespace XAgent { class Program { static void Main(string[] args) { AgentService.ServiceMain(); } } }