This question seems weird but weird problems often require weird solutions.
I'm having a problem with Windows Azure and SignalR. As I described here, the assembly System.EnterpriseServices.Wrapper.dll
is not being found and my application is crashing from time to time.
I cannot explicitely add a reference to System.EnterpriseServices.Wrapper.dll
. Visual Studio won't let me. There's something different with this DLL. But, when I put this DLL in the web application bin folder, I won't have any problems :). Everything works fine.
So I had an idea.. I'd put System.EnterpriseServices.Wrapper.dll
inside my web application as a resource and set Copy to Output Directory
as true. This way, I'd have a DLL in the bin folder without having a reference to it.
This situation I described works perfecly in the emulator but I just can't publish my application to Azure anymore.
Error 30 The "ProvideAssemblyProcessorArchitecture" task failed unexpectedly.
System.BadImageFormatException: The module was expected to contain an assembly manifest. (Exception from HRESULT: 0x80131018)
It seems that Azure will pre-process the assemblies prior to publishing. During this processes it will throw an error.
Is there any way I can put this assembly in the bin folder of my web application?
User contributions licensed under CC BY-SA 3.0