English 中文(简体)
视窗服务像一个定时服务,无法在运行时间解决依赖组件的参考资料
原标题:Windows service runs like a scheduler service, not able to resolve dependent assembly references at run time

我有一个窗口服务,像一个时间表,它提供一个接口,由其他班实施,成为这一服务的来源。 所有插头(例如Plugin1,Plugin2......)将分别放入PlugInPlugin1、PulgInPlugin2等PlugIn。 每次操作时,将搜寻每个子夹(Plugin1,Plugin2)安装接口的组装,并将安排一个时间与相应的车道。

现在,Plugin1 &案;Plugin2共用一个共同的单元(私人组装)只装载一次(每一次)。 如果出于某些商业原因,我们更新了Plugin1号通用票,并在Plugin1 夹中复制,使Plugin2与以前的版本保持同步,这已成为一个问题,因为现在很常见。

在安排时间或日期之后,我是否可以将这套双筒(从各自的夹)与时间挂钩?

最佳回答

在这里,我喜欢做的是,每图人/执行建立一个<条码>。 这样,每个金刚石都可以使用,拥有一套完全孤立的集会。

另一种(甚至更孤立的)做法是每呼吁创建<条码>Process;这可以非常有效,比处理<条码>AppDomain更为简单。

问题回答




相关问题
Anyone feel like passing it forward?

I m the only developer in my company, and am getting along well as an autodidact, but I know I m missing out on the education one gets from working with and having code reviewed by more senior devs. ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

C# Marshal / Pinvoke CBitmap?

I cannot figure out how to marshal a C++ CBitmap to a C# Bitmap or Image class. My import looks like this: [DllImport(@"test.dll", CharSet = CharSet.Unicode)] public static extern IntPtr ...

How to Use Ghostscript DLL to convert PDF to PDF/A

How to user GhostScript DLL to convert PDF to PDF/A. I know I kind of have to call the exported function of gsdll32.dll whose name is gsapi_init_with_args, but how do i pass the right arguments? BTW, ...

Linqy no matchy

Maybe it s something I m doing wrong. I m just learning Linq because I m bored. And so far so good. I made a little program and it basically just outputs all matches (foreach) into a label control. ...

热门标签