Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

Commit

Permalink
No Exception with dynamic Types
Browse files Browse the repository at this point in the history
  • Loading branch information
jogibear9988 committed Apr 14, 2016
1 parent 0e58df7 commit c65398a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Main/Base/Project/Designer/TypeResolutionService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ public Assembly LoadAssembly(string fileName)
// FIX for SD2-716, remove when designer gets its own AppDomain
foreach (Assembly asm in AppDomain.CurrentDomain.GetAssemblies()) {
try {
if (string.Equals(GetOriginalAssemblyFullPath(asm), fileName, StringComparison.OrdinalIgnoreCase)) {
if (!asm.IsDynamic && string.Equals(GetOriginalAssemblyFullPath(asm), fileName, StringComparison.OrdinalIgnoreCase)) {
RegisterAssembly(asm);
return asm;
}
Expand Down

0 comments on commit c65398a

Please sign in to comment.