{"action":"created","issue":{"url":"https://api.github.com/repos/dotnet/corert/issues/2377","repository_url":"https://api.github.com/repos/dotnet/corert","labels_url":"https://api.github.com/repos/dotnet/corert/issues/2377/labels{/name}","comments_url":"https://api.github.com/repos/dotnet/corert/issues/2377/comments","events_url":"https://api.github.com/repos/dotnet/corert/issues/2377/events","html_url":"https://github.com/dotnet/corert/issues/2377","id":196217371,"number":2377,"title":"Windows Build Instructions Not Working - Missing Steps?","user":{"login":"nat42","id":24620474,"avatar_url":"https://avatars.githubusercontent.com/u/24620474?v=3","gravatar_id":"","url":"https://api.github.com/users/nat42","html_url":"https://github.com/nat42","followers_url":"https://api.github.com/users/nat42/followers","following_url":"https://api.github.com/users/nat42/following{/other_user}","gists_url":"https://api.github.com/users/nat42/gists{/gist_id}","starred_url":"https://api.github.com/users/nat42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nat42/subscriptions","organizations_url":"https://api.github.com/users/nat42/orgs","repos_url":"https://api.github.com/users/nat42/repos","events_url":"https://api.github.com/users/nat42/events{/privacy}","received_events_url":"https://api.github.com/users/nat42/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-12-17T11:28:57Z","updated_at":"2016-12-17T16:48:29Z","closed_at":null,"body":"I don't really want to build CoreRT, I just wanted to try a pre-built version of the ILCompiler on a project I am working on, but there doesn't seem to be a pre-built version for download so I tried following the instructions to build.\r\n\r\nFirst issue, compiling on the commandline using build.cmd, the path to the project can not contain spaces; moved project to root of the drive as suggested. Second issue, my system's command interpreter doesn't like the batch files, spitting out errors like -\r\n\r\n> Could Not Find C:\\corert-master\\bin\\Logs\\*_Windows_NT__x64__Release.*\r\n> Checking pre-requisites...\r\n> \r\n> '&' is not recognized as an internal or external command,\r\n> operable program or batch file.\r\n> 'C:\\corert-master\\src\\Native\\probe-win.ps1 is not digitally signed. You cannot run this script on the current system. ' is not recognized as an internal or external command,\r\n> operable program or batch file.\r\n> 'For' is not recognized as an internal or external command,\r\n> operable program or batch file.\r\n> 'http:' is not recognized as an internal or external command,\r\n> operable program or batch file.\r\n> The AT command has been deprecated. Please use schtasks.exe instead.\r\n> \r\n> Invalid command.\r\n> \r\n> The AT command schedules commands and programs to run on a computer at\r\n> a specified time and date. The Schedule service must be running to use\r\n> the AT command.\r\n> ...\r\n\r\nThat first error pertaining to the ampersand seems to come from the following line, which sets it's own execution policy so my attempts to change the execution policy for the system for the error following it do nothing:\r\n> for /f \"delims=\" %%a in ('powershell -NoProfile -ExecutionPolicy RemoteSigned \"& \"\"%__SourceDir%\\Native\\probe-win.ps1\"\"\"') do %%a\r\n\r\nThird issue, so I give up building from the command line and try following the build instructions pertaining to loading a solution in Visual Studio 2015. None of the projects load, all show \"(load failed)\" after the project names in the Solution Explorer. VS's output pane shows a series of errors like:\r\n\r\n> The imported project \"C:\\corert-master\\Tools\\net45\\roslyn\\build\\Microsoft.Net.Compilers.props\" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.  C:\\corert-master\\dir.props\r\n\r\nI check and I don't have a Tools directory.\r\n\r\nI realise I am probably making some stupid mistakes, but maybe it is valuable to share my failure given building the project seems to be the only way to try the CoreRT tooling for now."},"comment":{"url":"https://api.github.com/repos/dotnet/corert/issues/comments/267772838","html_url":"https://github.com/dotnet/corert/issues/2377#issuecomment-267772838","issue_url":"https://api.github.com/repos/dotnet/corert/issues/2377","id":267772838,"user":{"login":"jkotas","id":6668460,"avatar_url":"https://avatars.githubusercontent.com/u/6668460?v=3","gravatar_id":"","url":"https://api.github.com/users/jkotas","html_url":"https://github.com/jkotas","followers_url":"https://api.github.com/users/jkotas/followers","following_url":"https://api.github.com/users/jkotas/following{/other_user}","gists_url":"https://api.github.com/users/jkotas/gists{/gist_id}","starred_url":"https://api.github.com/users/jkotas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jkotas/subscriptions","organizations_url":"https://api.github.com/users/jkotas/orgs","repos_url":"https://api.github.com/users/jkotas/repos","events_url":"https://api.github.com/users/jkotas/events{/privacy}","received_events_url":"https://api.github.com/users/jkotas/received_events","type":"User","site_admin":false},"created_at":"2016-12-17T16:48:29Z","updated_at":"2016-12-17T16:48:29Z","body":"Could you please share some details about your system? Windows OS version, any unusual configuration settings?\r\n\r\n> I check and I don't have a Tools directory.\r\n\r\nThe Visual Studio solutions only work once the repo is built successfully at least once."}}
{"actor":{"display_login":"jkotas"}}