Hi
I receive an exception when i make a call like this:
```
etuResponse.Header.RspCode.Should().Be(0);
```
Thats all. I am doing nothing else.
RspCode has the value 234.
I am using MSTest, Visual Studio 2012, .Net 4.5
FluentAssertion Version: 2.0.0.0
```
System.NotSupportedException occurred
HResult=-2146233067
Message=The invoked member is not supported in a dynamic assembly.
Source=mscorlib
StackTrace:
at System.Reflection.Emit.InternalAssemblyBuilder.GetExportedTypes()
at FluentAssertions.Formatting.AttributeBasedFormatter.GetExportedTypes(Assembly assembly) in c:\Workspaces\codeplex\fluentassertions\Main\FluentAssertions.Net35\Formatting\AttributeBasedFormatter.cs:line 126
InnerException:
```
Comments: I think I know what's going on. The AttributeBasedFormatter is trying to dynamically find methods that are annotated with [ValueFormatter], but apparently it is trying to scan a dynamic assembly. I need to add the NotSupportedException to exceptions to intercept.
I receive an exception when i make a call like this:
```
etuResponse.Header.RspCode.Should().Be(0);
```
Thats all. I am doing nothing else.
RspCode has the value 234.
I am using MSTest, Visual Studio 2012, .Net 4.5
FluentAssertion Version: 2.0.0.0
```
System.NotSupportedException occurred
HResult=-2146233067
Message=The invoked member is not supported in a dynamic assembly.
Source=mscorlib
StackTrace:
at System.Reflection.Emit.InternalAssemblyBuilder.GetExportedTypes()
at FluentAssertions.Formatting.AttributeBasedFormatter.GetExportedTypes(Assembly assembly) in c:\Workspaces\codeplex\fluentassertions\Main\FluentAssertions.Net35\Formatting\AttributeBasedFormatter.cs:line 126
InnerException:
```
Comments: I think I know what's going on. The AttributeBasedFormatter is trying to dynamically find methods that are annotated with [ValueFormatter], but apparently it is trying to scan a dynamic assembly. I need to add the NotSupportedException to exceptions to intercept.