{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Razor/issues/413","labels_url":"https://api.github.com/repos/aspnet/Razor/issues/413/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Razor/issues/413/comments","events_url":"https://api.github.com/repos/aspnet/Razor/issues/413/events","html_url":"https://github.com/aspnet/Razor/pull/413","id":83006990,"number":413,"title":"Avoid errors when generating baselines","user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/aspnet/Razor/labels/cla-already-signed","name":"cla-already-signed","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-31T05:23:11Z","updated_at":"2015-06-01T15:46:22Z","closed_at":"2015-06-01T15:46:22Z","pull_request":{"url":"https://api.github.com/repos/aspnet/Razor/pulls/413","html_url":"https://github.com/aspnet/Razor/pull/413","diff_url":"https://github.com/aspnet/Razor/pull/413.diff","patch_url":"https://github.com/aspnet/Razor/pull/413.patch"},"body":"- ignore missing expected output resources in this mode\r\n- update `BaselineWriter` to avoid `IOException`s (file access issues)\r\n - serialize file operations\r\n - one file handle per file\r\n- repeatedly `rm TestFiles/CodeGenerator/Output/*; `dnx . test`; no errors\r\n\r\nalso\r\n- update files only if they have changed\r\n - new `TestFiles.Exists()` method to support this check\r\n- do not check results in `CSharpCodeBuilderTests` if `GENERATE_BASELINES` set\r\n\r\nnits:\r\n- update BOM in CodeBlockWithTextElement.cs to avoid future `git diff`s\r\n- use more `var` and improve variable names in `TestFile`\r\n- wrap long lines"},"comment":{"url":"https://api.github.com/repos/aspnet/Razor/issues/comments/107597733","html_url":"https://github.com/aspnet/Razor/pull/413#issuecomment-107597733","issue_url":"https://api.github.com/repos/aspnet/Razor/issues/413","id":107597733,"user":{"login":"dougbu","id":6431421,"avatar_url":"https://avatars.githubusercontent.com/u/6431421?v=3","gravatar_id":"","url":"https://api.github.com/users/dougbu","html_url":"https://github.com/dougbu","followers_url":"https://api.github.com/users/dougbu/followers","following_url":"https://api.github.com/users/dougbu/following{/other_user}","gists_url":"https://api.github.com/users/dougbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dougbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dougbu/subscriptions","organizations_url":"https://api.github.com/users/dougbu/orgs","repos_url":"https://api.github.com/users/dougbu/repos","events_url":"https://api.github.com/users/dougbu/events{/privacy}","received_events_url":"https://api.github.com/users/dougbu/received_events","type":"User","site_admin":false},"created_at":"2015-06-01T15:46:22Z","updated_at":"2015-06-01T15:46:22Z","body":"d545f47"}}