{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corert/issues/5486","repository_url":"https://api.github.com/repos/dotnet/corert","labels_url":"https://api.github.com/repos/dotnet/corert/issues/5486/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corert/issues/5486/comments","events_url":"https://api.github.com/repos/dotnet/corert/issues/5486/events","html_url":"https://github.com/dotnet/corert/issues/5486","id":301908757,"number":5486,"title":"Compiler does not honor Deterministic flag","user":{"login":"h3x4d3c1m4l","id":2611894,"avatar_url":"https://avatars3.githubusercontent.com/u/2611894?v=4","gravatar_id":"","url":"https://api.github.com/users/h3x4d3c1m4l","html_url":"https://github.com/h3x4d3c1m4l","followers_url":"https://api.github.com/users/h3x4d3c1m4l/followers","following_url":"https://api.github.com/users/h3x4d3c1m4l/following{/other_user}","gists_url":"https://api.github.com/users/h3x4d3c1m4l/gists{/gist_id}","starred_url":"https://api.github.com/users/h3x4d3c1m4l/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/h3x4d3c1m4l/subscriptions","organizations_url":"https://api.github.com/users/h3x4d3c1m4l/orgs","repos_url":"https://api.github.com/users/h3x4d3c1m4l/repos","events_url":"https://api.github.com/users/h3x4d3c1m4l/events{/privacy}","received_events_url":"https://api.github.com/users/h3x4d3c1m4l/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-03-02T21:20:49Z","updated_at":"2018-03-03T09:44:45Z","closed_at":null,"author_association":"NONE","body":"Using the default .NET Core 2.0 compiler, I can build my projects deterministically by creating a `Directory.Build.props` with the following contents:\r\n\r\n```\r\n<Project>\r\n    <PropertyGroup>\r\n        <Deterministic>true</Deterministic>\r\n        <Features>pdb-path-determinism</Features>\r\n    </PropertyGroup>\r\n</Project>\r\n```\r\n\r\nThis means that if I rebuild the code without changing any of it, the new files have no differences with the old ones. If I build with CoreRT there are differences and the binaries contain the whole path to the pdb files instead of the relative path. It seems it ignores both properties from the PropertyGroup.\r\n\r\nAny plans to implement this or is there any workaround possible?"},"comment":{"url":"https://api.github.com/repos/dotnet/corert/issues/comments/370134735","html_url":"https://github.com/dotnet/corert/issues/5486#issuecomment-370134735","issue_url":"https://api.github.com/repos/dotnet/corert/issues/5486","id":370134735,"user":{"login":"mikedn","id":9973420,"avatar_url":"https://avatars2.githubusercontent.com/u/9973420?v=4","gravatar_id":"","url":"https://api.github.com/users/mikedn","html_url":"https://github.com/mikedn","followers_url":"https://api.github.com/users/mikedn/followers","following_url":"https://api.github.com/users/mikedn/following{/other_user}","gists_url":"https://api.github.com/users/mikedn/gists{/gist_id}","starred_url":"https://api.github.com/users/mikedn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikedn/subscriptions","organizations_url":"https://api.github.com/users/mikedn/orgs","repos_url":"https://api.github.com/users/mikedn/repos","events_url":"https://api.github.com/users/mikedn/events{/privacy}","received_events_url":"https://api.github.com/users/mikedn/received_events","type":"User","site_admin":false},"created_at":"2018-03-03T09:44:45Z","updated_at":"2018-03-03T09:44:45Z","author_association":"CONTRIBUTOR","body":"You could probably pass `-PDBALTPATH:path` to the VC++ linker to deal with the PDB full path that gets embedded in the executable by default."}}
{"actor":{"display_login":"mikedn"}}