{"action":"created","issue":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/1227","labels_url":"https://api.github.com/repos/fsprojects/Paket/issues/1227/labels{/name}","comments_url":"https://api.github.com/repos/fsprojects/Paket/issues/1227/comments","events_url":"https://api.github.com/repos/fsprojects/Paket/issues/1227/events","html_url":"https://github.com/fsprojects/Paket/pull/1227","id":117146221,"number":1227,"title":"Update ProjectFile.GetTargetProfile to work with conditional nodes","user":{"login":"amazingant","id":1761309,"avatar_url":"https://avatars.githubusercontent.com/u/1761309?v=3","gravatar_id":"","url":"https://api.github.com/users/amazingant","html_url":"https://github.com/amazingant","followers_url":"https://api.github.com/users/amazingant/followers","following_url":"https://api.github.com/users/amazingant/following{/other_user}","gists_url":"https://api.github.com/users/amazingant/gists{/gist_id}","starred_url":"https://api.github.com/users/amazingant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amazingant/subscriptions","organizations_url":"https://api.github.com/users/amazingant/orgs","repos_url":"https://api.github.com/users/amazingant/repos","events_url":"https://api.github.com/users/amazingant/events{/privacy}","received_events_url":"https://api.github.com/users/amazingant/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-16T15:16:13Z","updated_at":"2015-11-16T16:43:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fsprojects/Paket/pulls/1227","html_url":"https://github.com/fsprojects/Paket/pull/1227","diff_url":"https://github.com/fsprojects/Paket/pull/1227.diff","patch_url":"https://github.com/fsprojects/Paket/pull/1227.patch"},"body":"Working on #1221 (cc/ @theggelund and @forki), the contents of the test file I changed in 73e6f8c686ca5a26fd9a7decee82435cad929daf appear to work as of b905c750d736a328931ac436359e8eddf18fa2a1.\r\n\r\nThe output looks correct to me, but I'll need one of you to confirm, as I'm not sure what the output from the paket_bug project is supposed to be. Just testing from an fsx file like so:\r\n\r\n```FSharp\r\n#r @\"bin\\Paket.Core.dll\"\r\nlet proj = Paket.ProjectFile.LoadFromFile @\"tests\\Paket.Tests\\ProjectFile\\TestData\\ProjectWithConditions.fsprojtest\"\r\nlet profile = proj.GetTargetProfile()\r\n```\r\n\r\n`profile` outputs as `SinglePlatform (DotNetFramework V4_6)`. If I change the `TargetFrameworkProfile` node's condition to check for framework `v4.6` instead, then I get `SinglePlatform (DotNetFramework V4_Client)`. Doesn't make sense since there isn't a client profile for 4.6 (that I know of?), but shows that the condition on the node is being evaluated."},"comment":{"url":"https://api.github.com/repos/fsprojects/Paket/issues/comments/157092845","html_url":"https://github.com/fsprojects/Paket/pull/1227#issuecomment-157092845","issue_url":"https://api.github.com/repos/fsprojects/Paket/issues/1227","id":157092845,"user":{"login":"forki","id":57396,"avatar_url":"https://avatars.githubusercontent.com/u/57396?v=3","gravatar_id":"","url":"https://api.github.com/users/forki","html_url":"https://github.com/forki","followers_url":"https://api.github.com/users/forki/followers","following_url":"https://api.github.com/users/forki/following{/other_user}","gists_url":"https://api.github.com/users/forki/gists{/gist_id}","starred_url":"https://api.github.com/users/forki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forki/subscriptions","organizations_url":"https://api.github.com/users/forki/orgs","repos_url":"https://api.github.com/users/forki/repos","events_url":"https://api.github.com/users/forki/events{/privacy}","received_events_url":"https://api.github.com/users/forki/received_events","type":"User","site_admin":false},"created_at":"2015-11-16T16:43:19Z","updated_at":"2015-11-16T16:43:19Z","body":"this looks good to me. In debugger I see that the files are copiec twice - but the correct files. So it works as expected!\r\n\r\n![yay](https://cloud.githubusercontent.com/assets/57396/11188083/83be6e70-8c89-11e5-9e57-6a4b16c6fa79.gif)\r\n"}}