{"action":"created","issue":{"url":"https://api.github.com/repos/fscheck/FsCheck/issues/279","repository_url":"https://api.github.com/repos/fscheck/FsCheck","labels_url":"https://api.github.com/repos/fscheck/FsCheck/issues/279/labels{/name}","comments_url":"https://api.github.com/repos/fscheck/FsCheck/issues/279/comments","events_url":"https://api.github.com/repos/fscheck/FsCheck/issues/279/events","html_url":"https://github.com/fscheck/FsCheck/issues/279","id":158545488,"number":279,"title":"Cannot load FsCheckAddin.fs in interactive","user":{"login":"halcwb","id":683631,"avatar_url":"https://avatars.githubusercontent.com/u/683631?v=3","gravatar_id":"","url":"https://api.github.com/users/halcwb","html_url":"https://github.com/halcwb","followers_url":"https://api.github.com/users/halcwb/followers","following_url":"https://api.github.com/users/halcwb/following{/other_user}","gists_url":"https://api.github.com/users/halcwb/gists{/gist_id}","starred_url":"https://api.github.com/users/halcwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halcwb/subscriptions","organizations_url":"https://api.github.com/users/halcwb/orgs","repos_url":"https://api.github.com/users/halcwb/repos","events_url":"https://api.github.com/users/halcwb/events{/privacy}","received_events_url":"https://api.github.com/users/halcwb/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2016-06-05T09:10:27Z","updated_at":"2016-06-20T17:51:50Z","closed_at":null,"body":"When trying to load a test project with FsCheck in a script file using the powertools generate references, I get the following error:\r\n\r\n> error FS0074: The type referenced through 'NUnit.Core.TestResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'nunit.core.interfaces'.\r\n\r\nHowever, the requested library is loaded in the interactive. Also, specifically adding the requested reference doesn't solve the problem.\r\n\r\n> -> Referenced '..\\packages\\NUnit.Runners\\tools\\lib\\nunit.core.dll'\r\n> \r\n> \r\n> --> Referenced '..\\NUnit.Runners\\tools\\lib\\nunit.core.interfaces.dll'\r\n> \r\n> \r\n> [Loading ..\\load-references-release.fsx\r\n>  ..\\FsCheckAddin.fs\r\n>  ..\\BuildTest.fs\r\n> \r\n> \r\n> ..\\FsCheckAddin.fs(12,17): error FS0074: The type referenced through 'NUnit.Core.TestResult' is defined in an assembly that is not referenced. You must add a reference to assembly 'nunit.core.interfaces'.\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/fscheck/FsCheck/issues/comments/227217454","html_url":"https://github.com/fscheck/FsCheck/issues/279#issuecomment-227217454","issue_url":"https://api.github.com/repos/fscheck/FsCheck/issues/279","id":227217454,"user":{"login":"halcwb","id":683631,"avatar_url":"https://avatars.githubusercontent.com/u/683631?v=3","gravatar_id":"","url":"https://api.github.com/users/halcwb","html_url":"https://github.com/halcwb","followers_url":"https://api.github.com/users/halcwb/followers","following_url":"https://api.github.com/users/halcwb/following{/other_user}","gists_url":"https://api.github.com/users/halcwb/gists{/gist_id}","starred_url":"https://api.github.com/users/halcwb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/halcwb/subscriptions","organizations_url":"https://api.github.com/users/halcwb/orgs","repos_url":"https://api.github.com/users/halcwb/repos","events_url":"https://api.github.com/users/halcwb/events{/privacy}","received_events_url":"https://api.github.com/users/halcwb/received_events","type":"User","site_admin":false},"created_at":"2016-06-20T17:51:50Z","updated_at":"2016-06-20T17:51:50Z","body":"Sorry keep nagging about nunit. With the current version of nunit used by fscheck, trying to run tests crashes on my mac:\r\n\r\n> NUnit.Runners/tools/nunit-console.exe \"-nologo\" \"-noshadow\" \"-labels\" \"/GenBuild.Tests.dll\" \"-xml:TestResults.xml\" \r\n> /Library/Frameworks/Mono.framework/Commands/mono  \"/GenBuild/packages/NUnit.Runners/tools/nunit-console.exe\" \"-nologo\" \"-noshadow\" \"-labels\" \"/GenBuild.Tests.dll\" \"-xml:TestResults.xml\" \r\n> WARNING: The runtime version supported by this application is unavailable.\r\n> Using default runtime: v4.0.30319\r\n> ProcessModel: Default    DomainUsage: Single\r\n> Execution Runtime: mono-4.0\r\n> * Assertion at object.c:2189, condition `vt' not met\r\n> \r\n> Stacktrace:\r\n> \r\n>   at <unknown> <0xffffffff>\r\n>   at (wrapper managed-to-native) System.Runtime.Remoting.Proxies.RealProxy.InternalGetTransparentProxy (System.Runtime.Remoting.Proxies.RealProxy,string) <0xffffffff>\r\n>   at System.Runtime.Remoting.Proxies.RealProxy.GetTransparentProxy () <0x00118>\r\n>   at System.Runtime.Remoting.RemotingServices.GetOrCreateClientIdentity (System.Runtime.Remoting.ObjRef,System.Type,object&) <0x00268>\r\n>   at System.Runtime.Remoting.RemotingServices.GetRemoteObject (System.Runtime.Remoting.ObjRef,System.Type) <0x00027>\r\n>   at System.Runtime.Remoting.RemotingServices.GetProxyForRemoteObject (System.Runtime.Remoting.ObjRef,System.Type) <0x00067>\r\n>   at System.Runtime.Remoting.RemotingServices.Unmarshal (System.Runtime.Remoting.ObjRef,bool) <0x0012b>\r\n>   at System.Runtime.Remoting.RemotingServices.Unmarshal (System.Runtime.Remoting.ObjRef) <0x0001b>\r\n>   at System.Runtime.Remoting.ObjRef.GetRealObject (System.Runtime.Serialization.StreamingContext) <0x00023>\r\n>   at System.Runtime.Serialization.ObjectManager.ResolveObjectReference (System.Runtime.Serialization.ObjectHolder) <0x000fe>\r\n>   at System.Runtime.Serialization.ObjectManager.DoFixups () <0x000ff>\r\n>   at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize (System.Runtime.Remoting.Messaging.HeaderHandler,System.Runtime.Serialization.Formatters.Binary.__BinaryParser,bool,bool,System.Runtime.Remoting.Messaging.IMethodCallMessage) <0x0009a>\r\n>   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler,bool,bool,System.Runtime.Remoting.Messaging.IMethodCallMessage) <0x00173>\r\n>   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler,bool,System.Runtime.Remoting.Messaging.IMethodCallMessage) <0x00037>\r\n>   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler,bool) <0x0002f>\r\n>   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream,System.Runtime.Remoting.Messaging.HeaderHandler) <0x00027>\r\n>   at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize (System.IO.Stream) <0x0001f>\r\n>   at System.Runtime.Remoting.RemotingServices.DeserializeCallData (byte[]) <0x00053>\r\n>   at (wrapper xdomain-dispatch) System.AppDomain.SetData (object,byte[]&,byte[]&,string) <0xffffffff>\r\n>   at (wrapper xdomain-invoke) System.AppDomain.SetData (string,object) <0xffffffff>\r\n>   at (wrapper remoting-invoke-with-check) System.AppDomain.SetData (string,object) <0xffffffff>\r\n>   at NUnit.Util.DomainManager.CreateDomain (NUnit.Core.TestPackage) <0x00803>\r\n>   at NUnit.Util.TestDomain.Load (NUnit.Core.TestPackage) <0x0008b>\r\n>   at NUnit.ConsoleRunner.ConsoleUi.Execute (NUnit.ConsoleRunner.ConsoleOptions) <0x00514>\r\n>   at NUnit.ConsoleRunner.Runner.Main (string[]) <0x007c3>\r\n>   at NUnit.ConsoleRunner.Class1.Main (string[]) <0x00013>\r\n>   at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>\r\n> \r\n> Native stacktrace:\r\n> \r\n> \t0   mono                                0x00157e46 mono_handle_native_sigsegv + 342\r\n> \t1   mono                                0x001a85f1 sigabrt_signal_handler + 129\r\n> \t2   libsystem_platform.dylib            0x9b3d979b _sigtramp + 43\r\n> \t3   ???                                 0xffffffff 0x0 + 4294967295\r\n> \t4   libsystem_c.dylib                   0x9484ec34 abort + 156\r\n> \t5   mono                                0x002fcca1 monoeg_log_default_handler + 129\r\n> \t6   mono                                0x002fcd9b monoeg_assertion_message + 107\r\n> \t7   mono                                0x00270e0f mono_class_proxy_vtable + 1599\r\n> \t8   mono                                0x0027073b mono_remote_class_vtable + 59\r\n> \t9   mono                                0x001e0c8e ves_icall_Remoting_RealProxy_GetTransparentProxy + 158\r\n> \t10  ???                                 0x02e2d3e0 0x0 + 48419808\r\n> \t11  ???                                 0x02e2d2a9 0x0 + 48419497\r\n> \t12  ???                                 0x02e2c0f9 0x0 + 48414969\r\n> \t13  ???                                 0x02e2be78 0x0 + 48414328\r\n> \t14  ???                                 0x02e2bdc0 0x0 + 48414144\r\n> \t15  ???                                 0x02e2bc74 0x0 + 48413812\r\n> \t16  ???                                 0x02e2bb34 0x0 + 48413492\r\n> \t17  ???                                 0x02e2bb0c 0x0 + 48413452\r\n> \t18  ???                                 0x02e2b93f 0x0 + 48412991\r\n> \t19  ???                                 0x02e0fc20 0x0 + 48299040\r\n> \t20  ???                                 0x02e0e093 0x0 + 48291987\r\n> \t21  ???                                 0x02e0d2ac 0x0 + 48288428\r\n> \t22  ???                                 0x02e0d128 0x0 + 48288040\r\n> \t23  ???                                 0x02e0d0e0 0x0 + 48287968\r\n> \t24  ???                                 0x02e0d0a0 0x0 + 48287904\r\n> \t25  ???                                 0x02e0d068 0x0 + 48287848\r\n> \t26  ???                                 0x02e2a5cc 0x0 + 48408012\r\n> \t27  ???                                 0x02e2a3c0 0x0 + 48407488\r\n> \t28  ???                                 0x02cd843f 0x0 + 47023167\r\n> \t29  ???                                 0x02cd9e84 0x0 + 47029892\r\n> \t30  ???                                 0x02cb34a4 0x0 + 46871716\r\n> \t31  ???                                 0x02cb2844 0x0 + 46868548\r\n> \t32  ???                                 0x02cad39d 0x0 + 46846877\r\n> \t33  ???                                 0x00741c2c 0x0 + 7609388\r\n> \t34  ???                                 0x00740edc 0x0 + 7605980\r\n> \t35  ???                                 0x00740fb4 0x0 + 7606196\r\n> \t36  mono                                0x000a81aa mono_jit_runtime_invoke + 714\r\n> \t37  mono                                0x0026d4ff mono_runtime_invoke + 127\r\n> \t38  mono                                0x00273251 mono_runtime_exec_main + 401\r\n> \t39  mono                                0x0027300a mono_runtime_run_main + 618\r\n> \t40  mono                                0x00120bdd mono_jit_exec + 93\r\n> \t41  mono                                0x00122f31 mono_main + 7985\r\n> \t42  mono                                0x0009aa80 main + 768\r\n> \t43  mono                                0x0009a775 start + 53\r\n> \r\n> Debug info from gdb:\r\n> \r\n> (lldb) command source -s 0 '/tmp/mono-gdb-commands.TwMhV0'\r\n> Executing commands in '/tmp/mono-gdb-commands.TwMhV0'.\r\n> (lldb) process attach --pid 6430\r\n> \r\n\r\nI also filed a bug report of this: https://bugzilla.xamarin.com/show_bug.cgi?id=40785. But no response as of yet. Another argument to upgrade NUnit 3?"}}
{"actor":{"display_login":"halcwb"}}