Trying to get the path to my "XML documentation file" on NServiceBus. Normally I would use HttpContext.Current.Server.MapPath, however NServiceBus doesn't use HttpContext. So the question is, how do I get a path to the "XMl doucumentation file" and other files on NServiceBus?

Thanks!

-a-

有帮助吗?

解决方案

Per the comment, use the AppDomain

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top