{"action":"created","issue":{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/780","repository_url":"https://api.github.com/repos/reactiveui/ReactiveUI","labels_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/780/labels{/name}","comments_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/780/comments","events_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/780/events","html_url":"https://github.com/reactiveui/ReactiveUI/issues/780","id":52451052,"number":780,"title":"Running Unit Tests under Xamarin Studio without Xam.Mac","user":{"login":"rpetz","id":4307189,"avatar_url":"https://avatars.githubusercontent.com/u/4307189?v=3","gravatar_id":"","url":"https://api.github.com/users/rpetz","html_url":"https://github.com/rpetz","followers_url":"https://api.github.com/users/rpetz/followers","following_url":"https://api.github.com/users/rpetz/following{/other_user}","gists_url":"https://api.github.com/users/rpetz/gists{/gist_id}","starred_url":"https://api.github.com/users/rpetz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpetz/subscriptions","organizations_url":"https://api.github.com/users/rpetz/orgs","repos_url":"https://api.github.com/users/rpetz/repos","events_url":"https://api.github.com/users/rpetz/events{/privacy}","received_events_url":"https://api.github.com/users/rpetz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/labels/documentation","name":"documentation","color":"5319e7"},{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/labels/rxui","name":"rxui","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":19,"created_at":"2014-12-19T06:08:52Z","updated_at":"2016-09-01T13:38:32Z","closed_at":null,"body":"**Preface**\r\nThis might be an issue of Xamarin Studio on Mac and not RxUI/Splat - however it appears to be an issue with the targets that are assigned to the NuGet package references and I can't seem to figure out what targets I should be changing the packages to...\r\n\r\n**The issue**\r\nWhen creating a unit test project (i.e. not a PCL) and adding ReactiveUI it tries to load PresentationCore even on OS X\r\n\r\n**The reproduction steps**\r\n- Create a new unit test project (doesn't matter if it starts on windows or mac) and add ReactiveUI and NUnit\r\n- Create a ViewModel class deriving from ReactiveUI\r\n- Create a test that interacts with the ViewModel class\r\n- Run the test and it should fail with the following error:\r\nCould not load file or assembly 'PresentationCore'\r\n\r\n**Environment**\r\nLatest stable build of Xamarin Studio\r\nXamarin.iOS\r\nOS X Yosemite\r\n\r\nLooking at the test project file I notice that the references are utilizing the Net45 target - but after trying so many different combinations of other targets I still can't seem to get this to work...If it doesn't fail on PresentationCore is fails on System.Core\r\n\r\nAny ideas on a workaround or what targets I should migrate the package references to?\r\n\r\nHere's a simple solution that demonstrates the issue:\r\nhttp://www.filedropper.com/rxtest"},"comment":{"url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/comments/244081061","html_url":"https://github.com/reactiveui/ReactiveUI/issues/780#issuecomment-244081061","issue_url":"https://api.github.com/repos/reactiveui/ReactiveUI/issues/780","id":244081061,"user":{"login":"fvermeulen","id":1662765,"avatar_url":"https://avatars.githubusercontent.com/u/1662765?v=3","gravatar_id":"","url":"https://api.github.com/users/fvermeulen","html_url":"https://github.com/fvermeulen","followers_url":"https://api.github.com/users/fvermeulen/followers","following_url":"https://api.github.com/users/fvermeulen/following{/other_user}","gists_url":"https://api.github.com/users/fvermeulen/gists{/gist_id}","starred_url":"https://api.github.com/users/fvermeulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvermeulen/subscriptions","organizations_url":"https://api.github.com/users/fvermeulen/orgs","repos_url":"https://api.github.com/users/fvermeulen/repos","events_url":"https://api.github.com/users/fvermeulen/events{/privacy}","received_events_url":"https://api.github.com/users/fvermeulen/received_events","type":"User","site_admin":false},"created_at":"2016-09-01T13:38:32Z","updated_at":"2016-09-01T13:38:32Z","body":"I have the problem as well\r\n\r\nchange to\r\n`<Reference Include=\"ReactiveUI\">\r\n  <HintPath>..\\packages\\reactiveui-core.6.5.0\\lib\\Xamarin.Mac10\\ReactiveUI.dll</HintPath>\r\n</Reference>\r\n<Reference Include=\"Splat\">\r\n  <HintPath>..\\packages\\Splat.1.6.2\\lib\\Xamarin.Mac10\\Splat.dll</HintPath>\r\n</Reference>`\r\n\r\n--> results in no tests will be executed\r\n\r\nwill try linking other sources"}}
{"actor":{"display_login":"fvermeulen"}}