{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/4343","labels_url":"https://api.github.com/repos/dotnet/roslyn/issues/4343/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/roslyn/issues/4343/comments","events_url":"https://api.github.com/repos/dotnet/roslyn/issues/4343/events","html_url":"https://github.com/dotnet/roslyn/issues/4343","id":99099510,"number":4343,"title":"Embedded resource name cannot contain a comma","user":{"login":"yaakov-h","id":426009,"avatar_url":"https://avatars.githubusercontent.com/u/426009?v=3","gravatar_id":"","url":"https://api.github.com/users/yaakov-h","html_url":"https://github.com/yaakov-h","followers_url":"https://api.github.com/users/yaakov-h/followers","following_url":"https://api.github.com/users/yaakov-h/following{/other_user}","gists_url":"https://api.github.com/users/yaakov-h/gists{/gist_id}","starred_url":"https://api.github.com/users/yaakov-h/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yaakov-h/subscriptions","organizations_url":"https://api.github.com/users/yaakov-h/orgs","repos_url":"https://api.github.com/users/yaakov-h/repos","events_url":"https://api.github.com/users/yaakov-h/events{/privacy}","received_events_url":"https://api.github.com/users/yaakov-h/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-05T01:57:53Z","updated_at":"2015-08-05T14:30:03Z","closed_at":null,"body":"If you have an Embedded Resource in a C# project, and the file name contains a comma, the compiler emits an error that resource visibility must be either 'public' or 'protected'.\r\n\r\nI assume that the `/resource:filename[,identifier[,accessibility-modifier]]` argument ([docs](https://msdn.microsoft.com/en-us/library/c0tyye07(v=vs.140).aspx)) doesn't detect the end of the file name, and assumes that the comma in the filename indicates a new option segment.\r\n\r\nSteps to reproduce:\r\n\r\n1. Create a new C# project in VS2015 RTM\r\n2. Add a new XML file named `My,DataFile.xml`\r\n3. Change the data file's Build Action to `Embedded Resource`\r\n\r\nExpected results:\r\n\r\n1. Project compiles successfully.\r\n\r\nActual results:\r\n\r\n    1>------ Build started: Project: EmbeddedResourceComma, Configuration: Debug Any CPU ------\r\n    1>CSC : error CS1906: Invalid option 'EmbeddedResourceComma.My'; Resource visibility must be either 'public' or 'private'\r\n    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========\r\n\r\nThis is a regression, it worked as expected in Visual Studio 2013."},"comment":{"url":"https://api.github.com/repos/dotnet/roslyn/issues/comments/128015916","html_url":"https://github.com/dotnet/roslyn/issues/4343#issuecomment-128015916","issue_url":"https://api.github.com/repos/dotnet/roslyn/issues/4343","id":128015916,"user":{"login":"bkoelman","id":10324372,"avatar_url":"https://avatars.githubusercontent.com/u/10324372?v=3","gravatar_id":"","url":"https://api.github.com/users/bkoelman","html_url":"https://github.com/bkoelman","followers_url":"https://api.github.com/users/bkoelman/followers","following_url":"https://api.github.com/users/bkoelman/following{/other_user}","gists_url":"https://api.github.com/users/bkoelman/gists{/gist_id}","starred_url":"https://api.github.com/users/bkoelman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bkoelman/subscriptions","organizations_url":"https://api.github.com/users/bkoelman/orgs","repos_url":"https://api.github.com/users/bkoelman/repos","events_url":"https://api.github.com/users/bkoelman/events{/privacy}","received_events_url":"https://api.github.com/users/bkoelman/received_events","type":"User","site_admin":false},"created_at":"2015-08-05T14:30:03Z","updated_at":"2015-08-05T14:30:03Z","body":"Duplicate of #4021?"}}