{"action":"created","issue":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2051","repository_url":"https://api.github.com/repos/AutoMapper/AutoMapper","labels_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2051/labels{/name}","comments_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2051/comments","events_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2051/events","html_url":"https://github.com/AutoMapper/AutoMapper/issues/2051","id":219641204,"number":2051,"title":"FileNotFoundException in MapperConfiguration Constructor","user":{"login":"RichardAtRRD","id":26932362,"avatar_url":"https://avatars1.githubusercontent.com/u/26932362?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardAtRRD","html_url":"https://github.com/RichardAtRRD","followers_url":"https://api.github.com/users/RichardAtRRD/followers","following_url":"https://api.github.com/users/RichardAtRRD/following{/other_user}","gists_url":"https://api.github.com/users/RichardAtRRD/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardAtRRD/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardAtRRD/subscriptions","organizations_url":"https://api.github.com/users/RichardAtRRD/orgs","repos_url":"https://api.github.com/users/RichardAtRRD/repos","events_url":"https://api.github.com/users/RichardAtRRD/events{/privacy}","received_events_url":"https://api.github.com/users/RichardAtRRD/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2017-04-05T16:26:22Z","updated_at":"2017-04-06T08:09:27Z","closed_at":null,"body":"I receive the following error when constructing a MapperConfiguration object:\r\n\r\nMessage:\r\n----------\r\nCould not load file or assembly 'System.Collections.Specialized, Version=4.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.\r\n\r\nCall stack:\r\n-----------\r\n   at AutoMapper.Mappers.NameValueCollectionMapper.IsMatch(TypePair context)\r\n   at AutoMapper.MapperConfiguration.<>c__DisplayClass54_0.<CoveredByObjectMap>b__0(IObjectMapper m)\r\n   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source, Func`2 predicate)\r\n   at AutoMapper.MapperConfiguration.CoveredByObjectMap(TypePair typePair)\r\n   at AutoMapper.MapperConfiguration.GetTypeMap(TypePair initialTypes)\r\n   at AutoMapper.LockingConcurrentDictionary`2.<>c__DisplayClass2_1.<.ctor>b__1()\r\n   at System.Lazy`1.CreateValue()\r\n   at System.Lazy`1.LazyInitValue()\r\n   at AutoMapper.MapperConfiguration.ResolveTypeMap(TypePair typePair)\r\n   at AutoMapper.Execution.TypeMapPlanBuilder.MapExpression(IConfigurationProvider configurationProvider, ProfileMap profileMap, TypePair typePair, Expression sourceParameter, Expression contextParameter, PropertyMap propertyMap, Expression destinationParameter)\r\n   at AutoMapper.Execution.TypeMapPlanBuilder.CreatePropertyMapFunc(PropertyMap propertyMap)\r\n   at AutoMapper.Execution.TypeMapPlanBuilder.TryPropertyMap(PropertyMap propertyMap)\r\n   at AutoMapper.Execution.TypeMapPlanBuilder.CreateAssignmentFunc(Expression destinationFunc, Boolean constructorMapping)\r\n   at AutoMapper.Execution.TypeMapPlanBuilder.CreateMapperLambda()\r\n   at AutoMapper.TypeMap.Seal(IConfigurationProvider configurationProvider)\r\n   at AutoMapper.MapperConfiguration.Seal()\r\n   at AutoMapper.MapperConfiguration..ctor(MapperConfigurationExpression configurationExpression)\r\n   ...\r\n\r\nI'm using .Net framework 4.6.1 and Automapper 6.0.2.0.\r\n\r\nMany thanks,\r\nRichard"},"comment":{"url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/comments/292100665","html_url":"https://github.com/AutoMapper/AutoMapper/issues/2051#issuecomment-292100665","issue_url":"https://api.github.com/repos/AutoMapper/AutoMapper/issues/2051","id":292100665,"user":{"login":"lbargaoanu","id":4517428,"avatar_url":"https://avatars1.githubusercontent.com/u/4517428?v=3","gravatar_id":"","url":"https://api.github.com/users/lbargaoanu","html_url":"https://github.com/lbargaoanu","followers_url":"https://api.github.com/users/lbargaoanu/followers","following_url":"https://api.github.com/users/lbargaoanu/following{/other_user}","gists_url":"https://api.github.com/users/lbargaoanu/gists{/gist_id}","starred_url":"https://api.github.com/users/lbargaoanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lbargaoanu/subscriptions","organizations_url":"https://api.github.com/users/lbargaoanu/orgs","repos_url":"https://api.github.com/users/lbargaoanu/repos","events_url":"https://api.github.com/users/lbargaoanu/events{/privacy}","received_events_url":"https://api.github.com/users/lbargaoanu/received_events","type":"User","site_admin":false},"created_at":"2017-04-06T08:09:27Z","updated_at":"2017-04-06T08:09:27Z","body":"Obviously this kind of code works for everybody else :) So that doesn't help. It might have smth to do with your reference to AM."}}
{"actor":{"display_login":"lbargaoanu"}}