{"action":"created","issue":{"url":"https://api.github.com/repos/oleg-shilo/wixsharp/issues/253","repository_url":"https://api.github.com/repos/oleg-shilo/wixsharp","labels_url":"https://api.github.com/repos/oleg-shilo/wixsharp/issues/253/labels{/name}","comments_url":"https://api.github.com/repos/oleg-shilo/wixsharp/issues/253/comments","events_url":"https://api.github.com/repos/oleg-shilo/wixsharp/issues/253/events","html_url":"https://github.com/oleg-shilo/wixsharp/issues/253","id":284408678,"number":253,"title":"The file name can not be specified.","user":{"login":"Xaddan","id":14925308,"avatar_url":"https://avatars1.githubusercontent.com/u/14925308?v=4","gravatar_id":"","url":"https://api.github.com/users/Xaddan","html_url":"https://github.com/Xaddan","followers_url":"https://api.github.com/users/Xaddan/followers","following_url":"https://api.github.com/users/Xaddan/following{/other_user}","gists_url":"https://api.github.com/users/Xaddan/gists{/gist_id}","starred_url":"https://api.github.com/users/Xaddan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xaddan/subscriptions","organizations_url":"https://api.github.com/users/Xaddan/orgs","repos_url":"https://api.github.com/users/Xaddan/repos","events_url":"https://api.github.com/users/Xaddan/events{/privacy}","received_events_url":"https://api.github.com/users/Xaddan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-25T06:11:57Z","updated_at":"2017-12-25T07:57:48Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"I need to install a file with a name different from the original name.\r\nExample:\r\n```\r\n<Component Id=\"Com_fileName_inf\" Guid=\"*\" Win64=\"$(var.Win64)\">\r\n   <File Id=\"File_fileName_inf\" Name=\"fileName.inf\" Source=\"$(var.BuildResult)\\fileName$(var.File_x64_x86).inf\" KeyPath=\"yes\"/>\r\n</Component>\r\n```\r\nI create such here file:\r\n```\r\nnew File(Feature, $@\"{Global.BuildResult}\\fileName{Global.File_x64_x86}.inf\"),\r\n```\r\nCreates the following code snippet:\r\n```\r\n<Component Id=\"Component.fileName_x64.inf\" Guid=\"*\" Win64=\"yes\">\r\n   <File Id=\"fileName_x64.inf\" Source=\"filePath\\fileName_x64.inf\" />\r\n</Component>\r\n```\r\nWhen I try to change the file name:\r\n```\r\nnew File(Feature, $@\"{Global.BuildResult}\\fileName{Global.File_x64_x86}.inf\") { Name = \"fileName.inf\"},\r\n```\r\nCreates the following code snippet:\r\n```\r\n<Component Id=\"Component.fileName.inf\" Guid=\"*\" Win64=\"yes\">\r\n   <File Id=\"fileName.inf\" Source=\"fileName.inf\" />\r\n</Component>\r\n```"},"comment":{"url":"https://api.github.com/repos/oleg-shilo/wixsharp/issues/comments/353844920","html_url":"https://github.com/oleg-shilo/wixsharp/issues/253#issuecomment-353844920","issue_url":"https://api.github.com/repos/oleg-shilo/wixsharp/issues/253","id":353844920,"user":{"login":"Xaddan","id":14925308,"avatar_url":"https://avatars1.githubusercontent.com/u/14925308?v=4","gravatar_id":"","url":"https://api.github.com/users/Xaddan","html_url":"https://github.com/Xaddan","followers_url":"https://api.github.com/users/Xaddan/followers","following_url":"https://api.github.com/users/Xaddan/following{/other_user}","gists_url":"https://api.github.com/users/Xaddan/gists{/gist_id}","starred_url":"https://api.github.com/users/Xaddan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xaddan/subscriptions","organizations_url":"https://api.github.com/users/Xaddan/orgs","repos_url":"https://api.github.com/users/Xaddan/repos","events_url":"https://api.github.com/users/Xaddan/events{/privacy}","received_events_url":"https://api.github.com/users/Xaddan/received_events","type":"User","site_admin":false},"created_at":"2017-12-25T07:57:48Z","updated_at":"2017-12-25T07:57:48Z","author_association":"CONTRIBUTOR","body":"Here so it works:\r\n```\r\nnew File(Feature, $@\"{Global.BuildResult}\\fileName{Global.File_x64_x86}.inf\") \r\n{ AttributesDefinition = \"Name=fileName.inf\"}\r\n```"}}
{"actor":{"display_login":"Xaddan"}}