Home
Help
Register
Log in

Search

 
   Active Threads  

You are here: Home > LLBLGen Pro > Bugs & Issues> VS 2008 DebugVisualizer Exception
 

Pages: 1
Bugs & Issues
VS 2008 DebugVisualizer Exception
Page:1/1 

  Print all messages in this thread  
Poster Message
pat
User



Location:
CA, USA
Joined on:
02-Mar-2006 06:53:17
Posted:
215 posts
# Posted on: 05-Dec-2007 03:20:05.  
Hi,

when I try to use the debug visualizer in VS 2008 RTM I get the following exception:

System.InvalidCastException: Unable to cast object of type 'SD.LLBLGen.Pro.DebugVisualizers.EntityCollectionVisualizer' to type 'Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer'.
at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.ManagedShim.DelegatedHost.CreateViewer(IntPtr hwnd, HostServicesHelper hsh, SafeProxyWrapper proxy)

or

System.InvalidCastException: Unable to cast object of type 'SD.LLBLGen.Pro.DebugVisualizers.PrefetchPath2Visualizer' to type 'Microsoft.VisualStudio.DebuggerVisualizers.DialogDebuggerVisualizer'.
at Microsoft.VisualStudio.DebuggerVisualizers.DebugViewerShim.ManagedShim.DelegatedHost.CreateViewer(IntPtr hwnd, HostServicesHelper hsh, SafeProxyWrapper proxy)


Thanks,
Patrick

-----------------------------------------------
LLBLGen 2.5 / 5.Nov.2007 / SQL Server / C# / VS 2008 / Adapter Template
-----------------------------------------------
LLBLGen 5.1 - SQL 2016, C#, .NET 4.6
 
Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14639 posts
# Posted on: 05-Dec-2007 10:30:22.  
For the time being would you please try to manually compile/build the DebugVisulaizer in VS 2008.
You should find the Source code in the following path:
<LLBLGen Pro Installation Folder>\RuntimeLibraries\Sourcecode\Net2.x\DebugVisualizers

Use the newly built assembly instead of the one found in the following path:
<LLBLGen Pro Installation Folder>\RuntimeLibraries\DotNET20\DebugVisualizers


  Top
pat
User



Location:
CA, USA
Joined on:
02-Mar-2006 06:53:17
Posted:
215 posts
# Posted on: 06-Dec-2007 20:25:46.  
Thanks I will try it out.

Patrick
-----------------------------------------------
LLBLGen 5.1 - SQL 2016, C#, .NET 4.6
 
Top
GizmoTN76
User



Location:

Joined on:
22-Oct-2007 18:47:51
Posted:
33 posts
# Posted on: 06-Dec-2007 23:34:37.  
Walaa wrote:
For the time being would you please try to manually compile/build the DebugVisulaizer in VS 2008.
You should find the Source code in the following path:
<LLBLGen Pro Installation Folder>\RuntimeLibraries\Sourcecode\Net2.x\DebugVisualizers

Use the newly built assembly instead of the one found in the following path:
<LLBLGen Pro Installation Folder>\RuntimeLibraries\DotNET20\DebugVisualizers


Thanks, that helped me out too. One Item to note, before you rebuild you need to unreference the Microsoft.VisualStudio.DebuggerVisualizers.dll version 8 and rereference the 9 version to make that work.


  Top
Walaa
Support Team



Location:

Joined on:
21-Aug-2005 16:03:48
Posted:
14639 posts
# Posted on: 07-Dec-2007 10:55:44.  
Thanks a lot for the feedback Regular Smiley
  Top
Pages: 1  


Powered by HnD ©2002-2007 Solutions Design
HnD uses LLBLGen Pro

Version: 2.1.12172008 Final.