{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/sdk/issues/2197","repository_url":"https://api.github.com/repos/dotnet/sdk","labels_url":"https://api.github.com/repos/dotnet/sdk/issues/2197/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/sdk/issues/2197/comments","events_url":"https://api.github.com/repos/dotnet/sdk/issues/2197/events","html_url":"https://github.com/dotnet/sdk/issues/2197","id":318576968,"number":2197,"title":"Assembly informational attributes not applied for .net core app","user":{"login":"weshaggard","id":9010698,"avatar_url":"https://avatars2.githubusercontent.com/u/9010698?v=4","gravatar_id":"","url":"https://api.github.com/users/weshaggard","html_url":"https://github.com/weshaggard","followers_url":"https://api.github.com/users/weshaggard/followers","following_url":"https://api.github.com/users/weshaggard/following{/other_user}","gists_url":"https://api.github.com/users/weshaggard/gists{/gist_id}","starred_url":"https://api.github.com/users/weshaggard/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weshaggard/subscriptions","organizations_url":"https://api.github.com/users/weshaggard/orgs","repos_url":"https://api.github.com/users/weshaggard/repos","events_url":"https://api.github.com/users/weshaggard/events{/privacy}","received_events_url":"https://api.github.com/users/weshaggard/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/dotnet/sdk/milestones/14","html_url":"https://github.com/dotnet/sdk/milestone/14","labels_url":"https://api.github.com/repos/dotnet/sdk/milestones/14/labels","id":3271818,"number":14,"title":"2.2.1xx","description":"","creator":{"login":"livarcocc","id":367554,"avatar_url":"https://avatars3.githubusercontent.com/u/367554?v=4","gravatar_id":"","url":"https://api.github.com/users/livarcocc","html_url":"https://github.com/livarcocc","followers_url":"https://api.github.com/users/livarcocc/followers","following_url":"https://api.github.com/users/livarcocc/following{/other_user}","gists_url":"https://api.github.com/users/livarcocc/gists{/gist_id}","starred_url":"https://api.github.com/users/livarcocc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/livarcocc/subscriptions","organizations_url":"https://api.github.com/users/livarcocc/orgs","repos_url":"https://api.github.com/users/livarcocc/repos","events_url":"https://api.github.com/users/livarcocc/events{/privacy}","received_events_url":"https://api.github.com/users/livarcocc/received_events","type":"User","site_admin":false},"open_issues":5,"closed_issues":5,"state":"open","created_at":"2018-04-16T19:12:28Z","updated_at":"2018-04-30T18:58:26Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-04-27T23:30:18Z","updated_at":"2018-05-02T22:11:12Z","closed_at":null,"author_association":"MEMBER","body":"@karelz commented on [Fri Apr 27 2018](https://github.com/dotnet/core-setup/issues/4088)\n\n_From @Priya91 on April 27, 2018 1:33_\n\n**Repro:**\r\n\r\n1. Create a .net core app\r\n2. Set the following properties in the csproj\r\n\r\n```xml\r\n<PropertyGroup>\r\n    <OutputType>Exe</OutputType>\r\n    <RuntimeIdentifier>win7-x86</RuntimeIdentifier>\r\n    <TargetFramework>netcoreapp2.0</TargetFramework>\r\n    <AssemblyTitle>Assembly Information Repro</AssemblyTitle>\r\n    <AssemblyProduct>Assembly Information Repro</AssemblyProduct>\r\n    <AssemblyDescription>Assembly Information Repro</AssemblyDescription>\r\n    <Product>Assembly Information Repro</Product>\r\n    <PublisherName>tester</Publishername>\r\n</PropertyGroup>\r\n```\r\n3. Publish the app.\r\n\r\n**Expected:**\r\nThe properties on ```<assemblyname>.exe``` are set as per the info provided in the csproj.\r\n\r\n**Actual:**\r\nThe properties are set only for ```<assemblyname>.dll```, not on the ```<assemblyname>.exe```. Note, the .exe is the one that runs, and is shown in task manager, firewall prompts, etc. So without the process information, on task manager, it doesn't have a description, and on firewall prompts, it shows the publisher as unknown.\r\n\r\n**AssemblyMetadata.dll**\r\n\r\n![image](https://user-images.githubusercontent.com/7853870/39339896-e260be6e-497f-11e8-867b-fb470122a334.png)\r\n\r\n**AssemblyMetadata.exe**\r\n\r\n![image](https://user-images.githubusercontent.com/7853870/39339877-c3c9349a-497f-11e8-85ad-64ae3f6461e0.png)\r\n\n\n_Copied from original issue: dotnet/corefx#29362_\n\n---\n\n@karelz commented on [Fri Apr 27 2018](https://github.com/dotnet/core-setup/issues/4088#issuecomment-385012366)\n\n_From @kasper3 on April 27, 2018 6:21_\n\nBelongs to https://github.com/dotnet/sdk?\n\n"},"comment":{"url":"https://api.github.com/repos/dotnet/sdk/issues/comments/386137458","html_url":"https://github.com/dotnet/sdk/issues/2197#issuecomment-386137458","issue_url":"https://api.github.com/repos/dotnet/sdk/issues/2197","id":386137458,"user":{"login":"tannergooding","id":10487869,"avatar_url":"https://avatars3.githubusercontent.com/u/10487869?v=4","gravatar_id":"","url":"https://api.github.com/users/tannergooding","html_url":"https://github.com/tannergooding","followers_url":"https://api.github.com/users/tannergooding/followers","following_url":"https://api.github.com/users/tannergooding/following{/other_user}","gists_url":"https://api.github.com/users/tannergooding/gists{/gist_id}","starred_url":"https://api.github.com/users/tannergooding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tannergooding/subscriptions","organizations_url":"https://api.github.com/users/tannergooding/orgs","repos_url":"https://api.github.com/users/tannergooding/repos","events_url":"https://api.github.com/users/tannergooding/events{/privacy}","received_events_url":"https://api.github.com/users/tannergooding/received_events","type":"User","site_admin":false},"created_at":"2018-05-02T22:11:12Z","updated_at":"2018-05-02T22:11:12Z","author_association":"MEMBER","body":"I have a prototype, which uses P/Invoke to get this working on Windows: https://github.com/tannergooding/sdk/tree/embed-verinfo\r\n\r\nI am still investigating if we can use something like S.R.Metadata so that cross-platform publishing works as well (publishing for Windows, on Linux, should also embed this information). \r\n\r\nhttps://github.com/dotnet/corefx/issues/7875 tracks official S.R.Metadata support for doing this."}}
{"actor":{"display_login":"tannergooding"}}