{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/msbuild/issues/724","repository_url":"https://api.github.com/repos/Microsoft/msbuild","labels_url":"https://api.github.com/repos/Microsoft/msbuild/issues/724/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/msbuild/issues/724/comments","events_url":"https://api.github.com/repos/Microsoft/msbuild/issues/724/events","html_url":"https://github.com/Microsoft/msbuild/issues/724","id":162198385,"number":724,"title":"Item Exclude syntax doesn't support '/' as a path separator","user":{"login":"davkean","id":1103906,"avatar_url":"https://avatars.githubusercontent.com/u/1103906?v=3","gravatar_id":"","url":"https://api.github.com/users/davkean","html_url":"https://github.com/davkean","followers_url":"https://api.github.com/users/davkean/followers","following_url":"https://api.github.com/users/davkean/following{/other_user}","gists_url":"https://api.github.com/users/davkean/gists{/gist_id}","starred_url":"https://api.github.com/users/davkean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davkean/subscriptions","organizations_url":"https://api.github.com/users/davkean/orgs","repos_url":"https://api.github.com/users/davkean/repos","events_url":"https://api.github.com/users/davkean/events{/privacy}","received_events_url":"https://api.github.com/users/davkean/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Microsoft/msbuild/labels/backlog","name":"backlog","color":"c7def8"},{"url":"https://api.github.com/repos/Microsoft/msbuild/labels/Parity-XProj","name":"Parity-XProj","color":"bfd4f2"},{"url":"https://api.github.com/repos/Microsoft/msbuild/labels/up-for-grabs","name":"up-for-grabs","color":"009800"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-06-24T17:55:52Z","updated_at":"2016-08-08T14:48:22Z","closed_at":null,"body":"1. Create a new Console application\r\n2. Create a new folder called \"Exclude\", copy Program.cs into it\r\n3. Unload -> Edit\r\n4. Replace the `<Compile Include` items with `<Compile Include=\"**/*.cs\" Exclude=\"Excluded/**\" />`\r\n5. Reload project\r\n\r\nExpected: For Excluded\\Program.cs to not be included in the project\r\nActual: Excluded\\Program.cs is included in the project.\r\n\r\nIt appears that while '/' is understood in Include, it's not in Exclude. Does this prevent us from writing platform-agnostic paths?\r\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/msbuild/issues/comments/238261026","html_url":"https://github.com/Microsoft/msbuild/issues/724#issuecomment-238261026","issue_url":"https://api.github.com/repos/Microsoft/msbuild/issues/724","id":238261026,"user":{"login":"eerhardt","id":8291187,"avatar_url":"https://avatars.githubusercontent.com/u/8291187?v=3","gravatar_id":"","url":"https://api.github.com/users/eerhardt","html_url":"https://github.com/eerhardt","followers_url":"https://api.github.com/users/eerhardt/followers","following_url":"https://api.github.com/users/eerhardt/following{/other_user}","gists_url":"https://api.github.com/users/eerhardt/gists{/gist_id}","starred_url":"https://api.github.com/users/eerhardt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eerhardt/subscriptions","organizations_url":"https://api.github.com/users/eerhardt/orgs","repos_url":"https://api.github.com/users/eerhardt/repos","events_url":"https://api.github.com/users/eerhardt/events{/privacy}","received_events_url":"https://api.github.com/users/eerhardt/received_events","type":"User","site_admin":false},"created_at":"2016-08-08T14:48:22Z","updated_at":"2016-08-08T14:48:22Z","body":"> I think we'll automagically correct \\ to / when platform-appropriate, but this is definitely a bogus restriction that we should fix.\r\n\r\n`\\` is a valid file/folder name character on Unix.  Blindly converting all `\\` characters on Unix is not correct.\r\n\r\nFor example, I can have a folder named `my\\folder` by running \r\n\r\n```\r\n$ mkdir my\\\\folder\r\n$ ls\r\nmy\\folder\r\n```\r\n\r\nAre we saying that with MSBuild this won't be supported?"}}
{"actor":{"display_login":"eerhardt"}}