{"action":"created","issue":{"url":"https://api.github.com/repos/cake-build/cake/issues/900","repository_url":"https://api.github.com/repos/cake-build/cake","labels_url":"https://api.github.com/repos/cake-build/cake/issues/900/labels{/name}","comments_url":"https://api.github.com/repos/cake-build/cake/issues/900/comments","events_url":"https://api.github.com/repos/cake-build/cake/issues/900/events","html_url":"https://github.com/cake-build/cake/issues/900","id":155725986,"number":900,"title":"Wrong platform \"Any CPU\" for project file (expects \"AnyCPU\")","user":{"login":"thomaslevesque","id":1864281,"avatar_url":"https://avatars.githubusercontent.com/u/1864281?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaslevesque","html_url":"https://github.com/thomaslevesque","followers_url":"https://api.github.com/users/thomaslevesque/followers","following_url":"https://api.github.com/users/thomaslevesque/following{/other_user}","gists_url":"https://api.github.com/users/thomaslevesque/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaslevesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaslevesque/subscriptions","organizations_url":"https://api.github.com/users/thomaslevesque/orgs","repos_url":"https://api.github.com/users/thomaslevesque/repos","events_url":"https://api.github.com/users/thomaslevesque/events{/privacy}","received_events_url":"https://api.github.com/users/thomaslevesque/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-05-19T12:34:56Z","updated_at":"2016-06-11T10:46:47Z","closed_at":null,"body":"### What You Are Seeing?\r\n\r\nIf I use the `MSBuild` method to build a .csproj (rather than a solution) with `PlatformTarget = PlatformTarget.MSIL`, the wrong value is passed for the `Platform` property: for a solution, the correct value is `\"Any CPU\"`, but for a project it's `\"AnyCPU\"` (no space). See [this article](http://kynosarges.org/WeirdDotNet.html#AnyCPU) for the explanation.\r\n\r\n### What is Expected?\r\n\r\nWhen the file to build is a project rather than a solution, Cake should pass \"AnyCPU\" as the platform.\r\n\r\n### What version of Cake are you using?\r\n\r\n0.11\r\n\r\n### Are you running on a 32 or 64 bit system?\r\n\r\n64 bit\r\n\r\n### What environment are you running on?  Windows? Linux? Mac?\r\n\r\nWindows 8.1\r\n\r\n### Are you running on a CI Server?  If so, which one?\r\n\r\nNot right now\r\n\r\n### How Did You Get This To Happen? (Steps to Reproduce)\r\n\r\nBy building a .csproj with `PlatformTarget = PlatformTarget.MSIL`\r\n\r\n### Output Log\r\n\r\n\r\n> \"D:\\path\\to\\the\\project\\MyProject.csproj\" (build target) (1) ->\r\n> (_CheckForInvalidConfigurationAndPlatform target) ->\r\n>   C:\\Program Files (x86)\\MSBuild\\14.0\\bin\\Microsoft.Common.CurrentVersion.targets(723,5): error : The OutputPath property is not set for project 'MyProject.csproj'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='Release'  Platform='Any CPU'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project. [D:\\path\\to\\the\\project\\MyProject.csproj]\r\n"},"comment":{"url":"https://api.github.com/repos/cake-build/cake/issues/comments/225351859","html_url":"https://github.com/cake-build/cake/issues/900#issuecomment-225351859","issue_url":"https://api.github.com/repos/cake-build/cake/issues/900","id":225351859,"user":{"login":"thomaslevesque","id":1864281,"avatar_url":"https://avatars.githubusercontent.com/u/1864281?v=3","gravatar_id":"","url":"https://api.github.com/users/thomaslevesque","html_url":"https://github.com/thomaslevesque","followers_url":"https://api.github.com/users/thomaslevesque/followers","following_url":"https://api.github.com/users/thomaslevesque/following{/other_user}","gists_url":"https://api.github.com/users/thomaslevesque/gists{/gist_id}","starred_url":"https://api.github.com/users/thomaslevesque/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thomaslevesque/subscriptions","organizations_url":"https://api.github.com/users/thomaslevesque/orgs","repos_url":"https://api.github.com/users/thomaslevesque/repos","events_url":"https://api.github.com/users/thomaslevesque/events{/privacy}","received_events_url":"https://api.github.com/users/thomaslevesque/received_events","type":"User","site_admin":false},"created_at":"2016-06-11T10:46:47Z","updated_at":"2016-06-11T10:46:47Z","body":"No problem @patriksvensson, there's no rush ;)"}}
{"actor":{"display_login":"thomaslevesque"}}