{"action":"created","issue":{"url":"https://api.github.com/repos/bricelam/EFCore.FSharp/issues/6","repository_url":"https://api.github.com/repos/bricelam/EFCore.FSharp","labels_url":"https://api.github.com/repos/bricelam/EFCore.FSharp/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/bricelam/EFCore.FSharp/issues/6/comments","events_url":"https://api.github.com/repos/bricelam/EFCore.FSharp/issues/6/events","html_url":"https://github.com/bricelam/EFCore.FSharp/issues/6","id":295426923,"number":6,"title":"Project doesn't build","user":{"login":"isaacabraham","id":1781813,"avatar_url":"https://avatars2.githubusercontent.com/u/1781813?v=4","gravatar_id":"","url":"https://api.github.com/users/isaacabraham","html_url":"https://github.com/isaacabraham","followers_url":"https://api.github.com/users/isaacabraham/followers","following_url":"https://api.github.com/users/isaacabraham/following{/other_user}","gists_url":"https://api.github.com/users/isaacabraham/gists{/gist_id}","starred_url":"https://api.github.com/users/isaacabraham/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isaacabraham/subscriptions","organizations_url":"https://api.github.com/users/isaacabraham/orgs","repos_url":"https://api.github.com/users/isaacabraham/repos","events_url":"https://api.github.com/users/isaacabraham/events{/privacy}","received_events_url":"https://api.github.com/users/isaacabraham/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-08T08:42:18Z","updated_at":"2018-02-13T08:28:06Z","closed_at":null,"author_association":"NONE","body":"On checking out master, doing a `dotnet build` gives the following errors:\r\n\r\n```\r\nerror MSB4184: The expression \"registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v10.0@InstallationFolder\" cannot be evaluated.\r\nwarning NU1503: Skipping restore for project 'C:\\Users\\Isaac\\Source\\Repos\\EFCore.FSharp\\EFCore.FSharp\\EFCore.FSharp.fsproj'. The project file may be invalid or missing targets required for restore. [C:\\Users\\Isaac\\Source\\Repos\\EFCore.FSharp\\EFCore.FSharp.sln]\r\nerror MSB4184: The expression \"registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v10.0@InstallationFolder\" cannot be evaluated.\r\n\r\nRestore completed in 46.54 ms for C:\\Users\\Isaac\\Source\\Repos\\EFCore.FSharp\\EFCore.FSharp.Test\\EFCore.FSharp.Test.fsproj.\r\n\r\nerror MSB4184: The expression \"registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v10.0@InstallationFolder\" cannot be evaluated.\r\nerror MSB4184: The expression \"registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v10.0@InstallationFolder\" cannot be evaluated.\r\n```\r\n\r\nHow can I fix this?"},"comment":{"url":"https://api.github.com/repos/bricelam/EFCore.FSharp/issues/comments/365185670","html_url":"https://github.com/bricelam/EFCore.FSharp/issues/6#issuecomment-365185670","issue_url":"https://api.github.com/repos/bricelam/EFCore.FSharp/issues/6","id":365185670,"user":{"login":"simontaite","id":1778392,"avatar_url":"https://avatars3.githubusercontent.com/u/1778392?v=4","gravatar_id":"","url":"https://api.github.com/users/simontaite","html_url":"https://github.com/simontaite","followers_url":"https://api.github.com/users/simontaite/followers","following_url":"https://api.github.com/users/simontaite/following{/other_user}","gists_url":"https://api.github.com/users/simontaite/gists{/gist_id}","starred_url":"https://api.github.com/users/simontaite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simontaite/subscriptions","organizations_url":"https://api.github.com/users/simontaite/orgs","repos_url":"https://api.github.com/users/simontaite/repos","events_url":"https://api.github.com/users/simontaite/events{/privacy}","received_events_url":"https://api.github.com/users/simontaite/received_events","type":"User","site_admin":false},"created_at":"2018-02-13T08:28:06Z","updated_at":"2018-02-13T08:28:06Z","author_association":"COLLABORATOR","body":"This appears to be caused by these lines in EFCore.FSharp.fsproj\r\n```\r\n<WindowsSdkDir Condition=\" '$(WindowsSdkDir)' == '' \">$(registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v10.0@InstallationFolder)</WindowsSdkDir>\r\n<WindowsSDKVersion Condition=\" '$(WindowsSDKVersion)' == '' \">$(registry:HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Microsoft SDKs\\Windows\\v10.0@ProductVersion)\\</WindowsSDKVersion>\r\n<SignToolCommand>\"$(WindowsSdkDir)bin\\$(WindowsSDKVersion)x86\\signtool.exe\" sign /t $(TimestampUrl) /q</SignToolCommand>\r\n```\r\n\r\nIf you comment them out then it should build, although it will not be signed.\r\nThis issue also prevents `dotnet build` from running on any non-Windows platform\r\n\r\n@bricelam We'll need to find a way to sign the package in a more cross-platform friendly manner"}}
{"actor":{"display_login":"simontaite"}}