{"action":"closed","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/1264","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/1264/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/1264/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/1264/events","html_url":"https://github.com/dotnet/roslyn/issues/1264","id":61590144,"number":1264,"title":"Expression Evaluator Feature Request: Fix \"The type ___ exists in both foo.dll and bar.dll\" error","user":{"login":"OmerRaviv","id":641292,"avatar_url":"https://avatars.githubusercontent.com/u/641292?v=3","gravatar_id":"","url":"https://api.github.com/users/OmerRaviv","html_url":"https://github.com/OmerRaviv","followers_url":"https://api.github.com/users/OmerRaviv/followers","following_url":"https://api.github.com/users/OmerRaviv/following{/other_user}","gists_url":"https://api.github.com/users/OmerRaviv/gists{/gist_id}","starred_url":"https://api.github.com/users/OmerRaviv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OmerRaviv/subscriptions","organizations_url":"https://api.github.com/users/OmerRaviv/orgs","repos_url":"https://api.github.com/users/OmerRaviv/repos","events_url":"https://api.github.com/users/OmerRaviv/events{/privacy}","received_events_url":"https://api.github.com/users/OmerRaviv/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Area-Interactive","name":"Area-Interactive","color":"5319e7"},{"url":"https://api.github.com/repos/dotnet/roslyn/labels/Interactive-Debugging","name":"Interactive-Debugging","color":"207de5"}],"state":"closed","locked":false,"assignee":{"login":"cston","id":10732005,"avatar_url":"https://avatars.githubusercontent.com/u/10732005?v=3","gravatar_id":"","url":"https://api.github.com/users/cston","html_url":"https://github.com/cston","followers_url":"https://api.github.com/users/cston/followers","following_url":"https://api.github.com/users/cston/following{/other_user}","gists_url":"https://api.github.com/users/cston/gists{/gist_id}","starred_url":"https://api.github.com/users/cston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cston/subscriptions","organizations_url":"https://api.github.com/users/cston/orgs","repos_url":"https://api.github.com/users/cston/repos","events_url":"https://api.github.com/users/cston/events{/privacy}","received_events_url":"https://api.github.com/users/cston/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/dotnet/roslyn/milestones/1","html_url":"https://github.com/dotnet/roslyn/milestones/1.0%20(stable)","labels_url":"https://api.github.com/repos/dotnet/roslyn/milestones/1/labels","id":937397,"number":1,"title":"1.0 (stable)","description":"This is our 1.0 Milestone. ","creator":{"login":"jaredpar","id":146967,"avatar_url":"https://avatars.githubusercontent.com/u/146967?v=3","gravatar_id":"","url":"https://api.github.com/users/jaredpar","html_url":"https://github.com/jaredpar","followers_url":"https://api.github.com/users/jaredpar/followers","following_url":"https://api.github.com/users/jaredpar/following{/other_user}","gists_url":"https://api.github.com/users/jaredpar/gists{/gist_id}","starred_url":"https://api.github.com/users/jaredpar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaredpar/subscriptions","organizations_url":"https://api.github.com/users/jaredpar/orgs","repos_url":"https://api.github.com/users/jaredpar/repos","events_url":"https://api.github.com/users/jaredpar/events{/privacy}","received_events_url":"https://api.github.com/users/jaredpar/received_events","type":"User","site_admin":false},"open_issues":226,"closed_issues":142,"state":"open","created_at":"2015-01-15T20:45:24Z","updated_at":"2015-04-14T18:13:53Z","due_on":null,"closed_at":null},"comments":2,"created_at":"2015-03-14T12:43:16Z","updated_at":"2015-04-14T18:13:53Z","closed_at":"2015-04-14T18:13:53Z","body":"When evaluating expressions in the debugger, it is not uncommon to stumble across this error message, where there is a type with the same name in the same namespace within different loaded assemblies. Especially with MEF-powered applications, this tends to happen more and more, and I've seen many developers get very frustrated with it.\r\n\r\nAs @jaredpar [noted on stackoverflow](http://stackoverflow.com/questions/1571958/how-can-i-qualify-a-net-type-with-assembly-name-for-visual-studio-debugger-to-d) , there is currently no workaround for the issue.\r\n\r\nI propose the following simple solution - *if the currently executing assembly directly references only one of the assemblies that contain the type, use that one.* While one might argue that this behavior is inconsistent with the usual EE semantic scoping rules, I think the trade-off of fixing a very frustrating experience in 99% of cases is well worth it."}}