shekharpro / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Gallio causes exceptions while debugging Microsoft Blueprints #402

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install MS Blueprints - http://blueprints.codeplex.com/
2. Create new Blueprints project, hit F5. Second instance of Visual Studio 
is launched.
3. You will start getting exceptions in the original instance of visual 
studio

What is the expected output? What do you see instead?
Well, there shouldn't be any exceptions, instead you have to keep 
clicking "continue" when the exception is thrown

What version of the product are you using? On what operating system?
Latest official release and latest dev build. Windows Server 2k8 64 bit.

Please provide any additional information below.

Full exception:
{"The given assembly name or codebase was invalid. (Exception from 
HRESULT: 0x80131047)":null}
   at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean 
forIntrospection, Boolean raiseResolveEvent)
   at System.Reflection.AssemblyName.nInit()
   at System.Reflection.AssemblyName..ctor(String assemblyName)
   at 
Gallio.Runtime.Loader.DefaultAssemblyResolverManager.RecursiveAssemblyResol
ve(ResolveEventArgs args, Boolean reflectionOnly) in 
c:\RelEng\Projects\MbUnit v3
\Work\src\Gallio\Gallio\Runtime\Loader\DefaultAssemblyResolverManager.cs:li
ne 108
   at 
Gallio.Runtime.Loader.DefaultAssemblyResolverManager.CustomAssemblyResolve
(ResolveEventArgs args, Boolean reflectionOnly) in 
c:\RelEng\Projects\MbUnit v3
\Work\src\Gallio\Gallio\Runtime\Loader\DefaultAssemblyResolverManager.cs:li
ne 100
   at 
Gallio.Runtime.Loader.DefaultAssemblyResolverManager.CurrentDomain_Assembly
Resolve(Object sender, ResolveEventArgs args) in c:\RelEng\Projects\MbUnit 
v3
\Work\src\Gallio\Gallio\Runtime\Loader\DefaultAssemblyResolverManager.cs:li
ne 81
   at System.AppDomain.OnAssemblyResolveEvent(String assemblyFullName)
   at System.Reflection.AssemblyName.nInit(Assembly& assembly, Boolean 
forIntrospection, Boolean raiseResolveEvent)
   at System.Reflection.Assembly.InternalLoad(String assemblyString, 
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean 
forIntrospection)
   at System.Reflection.Assembly.Load(String assemblyString)
   at 
Microsoft.VisualStudio.CommonIDE.ResourceLoader.OpenAssemblyResourceManifes
t4(String assemblyPath, Int32 lcid)

Original issue reported on code.google.com by howard.v...@gmail.com on 9 Mar 2009 at 11:32

GoogleCodeExporter commented 8 years ago
You're right, there shouldn't be any exceptions.  Not sure what's going on 
right now
but here's a workaround until I can figure it out.

You're probably seeing exception dialogs popping up thanks to the Visual Studio
Exception Assistant feature.  These exceptions are handled by Gallio but the 
dialog
appears just the same.

To make the dialog go away, open the Visual Studio Options dialog, go to the 
Debugger
tab, then turn off the Exception Assistant feature.

Original comment by jeff.br...@gmail.com on 10 Mar 2009 at 8:52

GoogleCodeExporter commented 8 years ago
I'll try to investigate for v3.0.6 Update 2.

Original comment by jeff.br...@gmail.com on 27 Apr 2009 at 6:02

GoogleCodeExporter commented 8 years ago
I cannot reproduce this though I tried with v3.0.6 on Windows 2008 64bit and the
latest version of Blueprints, v2.1.2.

If you feel I have closed the issue in error, please feel free to reopen it 
with more
information.

Original comment by jeff.br...@gmail.com on 28 Apr 2009 at 2:35