We have a small solution with a Web and Worker (service) project which are both targeting two frameworks.
The reason for targeting two frameworks is we are using nServiceBus with persistence into RavenDB. The 7.0 beta of nServiceBus’s wrapper over their RavenDB code targets .NET Framework 4.6.1. Our apps are targeting .NET Core 2.0.
When we set both of these projects as startup projects and launch them through Visual Studio, everything runs fine.
When we use Publish and push the binaries for the Web project to a directory that local IIS is pointing to for the web site, we receive the following error in a custom log:
The selected persistence doesn’t have support for timeout storage. Select another persistence or disable the timeout manager feature using endpointConfiguration.DisableFeature() at NServiceBus.Features.TimeoutManager.Setup(FeatureConfigurationContext context)
The same error occurs when we publish the service.
We tried disabling the timeout manager feature as it suggests, but it still throws the error.
Any help or things to try would be greatly appreciated!