{"action":"created","issue":{"url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/404","labels_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/404/comments","events_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/404/events","html_url":"https://github.com/AutoFixture/AutoFixture/issues/404","id":76031795,"number":404,"title":"Support for CoreCLR","user":{"login":"tommck","id":981957,"avatar_url":"https://avatars.githubusercontent.com/u/981957?v=3","gravatar_id":"","url":"https://api.github.com/users/tommck","html_url":"https://github.com/tommck","followers_url":"https://api.github.com/users/tommck/followers","following_url":"https://api.github.com/users/tommck/following{/other_user}","gists_url":"https://api.github.com/users/tommck/gists{/gist_id}","starred_url":"https://api.github.com/users/tommck/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommck/subscriptions","organizations_url":"https://api.github.com/users/tommck/orgs","repos_url":"https://api.github.com/users/tommck/repos","events_url":"https://api.github.com/users/tommck/events{/privacy}","received_events_url":"https://api.github.com/users/tommck/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AutoFixture/AutoFixture/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/AutoFixture/AutoFixture/labels/jump%20in","name":"jump in","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/AutoFixture/AutoFixture/milestones/3","html_url":"https://github.com/AutoFixture/AutoFixture/milestones/4.0","labels_url":"https://api.github.com/repos/AutoFixture/AutoFixture/milestones/3/labels","id":399179,"number":3,"title":"4.0","description":"AutoFixture 4.0.\r\n\r\nSince AutoFixture uses Semantic Versioning, all breaking changes should be assigned to this milestone.","creator":{"login":"ploeh","id":242165,"avatar_url":"https://avatars.githubusercontent.com/u/242165?v=3","gravatar_id":"","url":"https://api.github.com/users/ploeh","html_url":"https://github.com/ploeh","followers_url":"https://api.github.com/users/ploeh/followers","following_url":"https://api.github.com/users/ploeh/following{/other_user}","gists_url":"https://api.github.com/users/ploeh/gists{/gist_id}","starred_url":"https://api.github.com/users/ploeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ploeh/subscriptions","organizations_url":"https://api.github.com/users/ploeh/orgs","repos_url":"https://api.github.com/users/ploeh/repos","events_url":"https://api.github.com/users/ploeh/events{/privacy}","received_events_url":"https://api.github.com/users/ploeh/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":2,"state":"open","created_at":"2013-08-11T13:21:38Z","updated_at":"2015-08-31T15:51:37Z","due_on":null,"closed_at":null},"comments":14,"created_at":"2015-05-13T15:46:54Z","updated_at":"2015-09-16T22:08:15Z","closed_at":null,"body":"It seems that AutoFixture currently doesn't support the new DNX platform.\r\n\r\nAre there plans to add support this?"},"comment":{"url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/comments/140908908","html_url":"https://github.com/AutoFixture/AutoFixture/issues/404#issuecomment-140908908","issue_url":"https://api.github.com/repos/AutoFixture/AutoFixture/issues/404","id":140908908,"user":{"login":"ecampidoglio","id":877348,"avatar_url":"https://avatars.githubusercontent.com/u/877348?v=3","gravatar_id":"","url":"https://api.github.com/users/ecampidoglio","html_url":"https://github.com/ecampidoglio","followers_url":"https://api.github.com/users/ecampidoglio/followers","following_url":"https://api.github.com/users/ecampidoglio/following{/other_user}","gists_url":"https://api.github.com/users/ecampidoglio/gists{/gist_id}","starred_url":"https://api.github.com/users/ecampidoglio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecampidoglio/subscriptions","organizations_url":"https://api.github.com/users/ecampidoglio/orgs","repos_url":"https://api.github.com/users/ecampidoglio/repos","events_url":"https://api.github.com/users/ecampidoglio/events{/privacy}","received_events_url":"https://api.github.com/users/ecampidoglio/received_events","type":"User","site_admin":false},"created_at":"2015-09-16T22:08:15Z","updated_at":"2015-09-16T22:08:15Z","body":"Out of curiosity, I run the [API Portability Analyzer](http://blogs.msdn.com/b/dotnet/archive/2014/08/06/leveraging-existing-code-across-net-platforms.aspx) on the `Ploeh.AutoFixture` assembly and got some interesting results:\r\n\r\n![autofixture-compatibility](https://cloud.githubusercontent.com/assets/877348/9918467/4c55a8e6-5cc7-11e5-88fa-724306ce7d6d.png)\r\n\r\nWait before you open the Champagne, though. That rough 3% unfortunately accounts for some rather fundamental symbols:\r\n\r\nTarget type | Target member\r\n--------------- | --------------------\r\nSystem.Console  | M:System.Console.get_Out\r\nSystem.Threading.Thread | M:System.Threading.Thread.get_ManagedThreadId\r\nSystem.Threading.Thread | M:System.Threading.Thread.get_CurrentThread\r\nSystem.Reflection.ICustomAttributeProvider | M:System.Reflection.ICustomAttributeProvider.GetCustomAttributes(System.Type,System.Boolean)\r\nSystem.Net.Mail.MailAddress | M:System.Net.Mail.MailAddress.#ctor(System.String)\r\nSystem.SerializableAttribute | M:System.SerializableAttribute.#ctor\r\nSystem.Runtime.Serialization.SerializationInfo | T:System.Runtime.Serialization.SerializationInfo\r\nSystem.Reflection.ParameterInfo | M:System.Reflection.ParameterInfo.IsDefined(System.Type,System.Boolean)\r\nSystem.Type | M:System.Type.get_IsGenericTypeDefinition\r\nSystem.Type | M:System.Type.get_IsEnum\r\nSystem.Type | M:System.Type.get_BaseType\r\nSystem.Type | M:System.Type.get_IsPrimitive\r\nSystem.Type | M:System.Type.get_Assembly\r\nSystem.Type | M:System.Type.get_IsGenericType\r\nSystem.Type | M:System.Type.GetTypeCode(System.Type)\r\nSystem.Type | M:System.Type.get_IsClass\r\nSystem.Type | M:System.Type.get_IsValueType\r\nSystem.Type | M:System.Type.get_IsAbstract\r\nSystem.Reflection.MemberInfo | M:System.Reflection.MemberInfo.get_ReflectedType\r\nSystem.Reflection.PropertyInfo | M:System.Reflection.PropertyInfo.GetSetMethod\r\nSystem.Exception | M:System.Exception.#ctor(System.Runtime.Serialization.SerializationInfo,System.Runtime.Serialization.StreamingContext)\r\nSystem.Reflection.MethodBase | M:System.Reflection.MethodBase.GetCurrentMethod\r\n\r\nHowever, there are a few solutions:\r\n\r\n - [x] Replace all references to the properties in `System.Type` with the corresponding ones in [`System.TypeInfo`](https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Reflection/TypeInfo.cs), available through the [`GetTypeInfo(Type)`](https://github.com/dotnet/coreclr/blob/master/src/mscorlib/src/System/Reflection/IntrospectionExtensions.cs#L21-L31) extension method.\r\n - [x] Remove all references to `System.SerializableAttribute`.\r\n - [x] Remove all references to `System.Runtime.Serialization.SerializationInfo` (likely only used in _exception constructors_).\r\n - [x] Remove all references to the `System.Reflection.MemberInfo.ReflectedType` property and use the reflected object to get a hold of its type.\r\n - [x] Replace all references to the `System.Reflection.PropertyInfo.GetSetMethod` property with the `System.Reflection.PropertyInfo.SetMethod` property instead.\r\n\r\nThis is only a first pass and things might change as CoreCLR is still being developed. At least we got an idea of what it would take to make AutoFixture compatible with it.\r\n\r\n "}}