You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What steps will reproduce the problem?
1. Create ASP.net MVC5 project using Autofac as dependency resolver.
2. Add whitebox.autofac nuget.
3. Register whitebox module in autofac:
builder.RegisterModule<WhiteboxProfilingModule>();
4. Run whitebox profiler GUI application separately.
5. Run web project.
What is the expected output? What do you see instead?
Excpected to see activity output in profiler.
Instead I get an exception in the profiler application code:
System.InvalidOperationException was unhandled by user code
HResult=-2146233079
Message=Instance lookup depends on an unknown item.
Source=Whitebox.Core
StackTrace:
at Whitebox.Core.Updaters.InstanceLookupHandler.UpdateFrom(InstanceLookupBeginningMessage e) in c:\Repos\whitebox-f14204816e55\Whitebox.Core\Updaters\InstanceLookupHandler.cs:line 44
at Whitebox.Core.Session.MessageDispatcher.DispatchMessageOfType[TMessage](TMessage message) in c:\Repos\whitebox-f14204816e55\Whitebox.Core\Session\MessageDispatcher.cs:line 44
InnerException:
What version of the product are you using?
Latest per Nov 25th 2013:
http://code.google.com/p/whitebox/source/detail?r=f14204816e55bfe775622726058df2
fe54fe5ae9
Please provide any additional information below.
The ProfiledApplication test app included in the whitebox solution works. I
tried to mimick its setup, but nothing happens when I try to copy its
app.config stuff into my web.config. I need to explicitly register the whitebox
module in code for anything to happen. The main difference I can see is that I
use the nuget, but the test app uses a project reference.
I even tried to use the same DLLs as the test app, by referencing autofac.dll,
whitebox.dll and whitebox.containers.autofac.dll instead of the ones I used (I
used 3.1.5 autofac, test app used 3.1.1, and I used nugets), but I still get
the same exception. Another difference is that I am running a web project and
it is not in the same solution, but can't see how that should matter?
Any ideas would be appreciated, I really love the idea of whitebox.
Original issue reported on code.google.com by anjdreas on 26 Nov 2013 at 9:20
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
anjdreas
on 26 Nov 2013 at 9:20The text was updated successfully, but these errors were encountered: