{"action":"created","issue":{"url":"https://api.github.com/repos/kingpin2k/HTMLBarsHelper/issues/6","labels_url":"https://api.github.com/repos/kingpin2k/HTMLBarsHelper/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/kingpin2k/HTMLBarsHelper/issues/6/comments","events_url":"https://api.github.com/repos/kingpin2k/HTMLBarsHelper/issues/6/events","html_url":"https://github.com/kingpin2k/HTMLBarsHelper/issues/6","id":129908990,"number":6,"title":"Runtime detected an invalid program.","user":{"login":"haldiggs","id":1693010,"avatar_url":"https://avatars.githubusercontent.com/u/1693010?v=3","gravatar_id":"","url":"https://api.github.com/users/haldiggs","html_url":"https://github.com/haldiggs","followers_url":"https://api.github.com/users/haldiggs/followers","following_url":"https://api.github.com/users/haldiggs/following{/other_user}","gists_url":"https://api.github.com/users/haldiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/haldiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haldiggs/subscriptions","organizations_url":"https://api.github.com/users/haldiggs/orgs","repos_url":"https://api.github.com/users/haldiggs/repos","events_url":"https://api.github.com/users/haldiggs/events{/privacy}","received_events_url":"https://api.github.com/users/haldiggs/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-29T23:15:37Z","updated_at":"2016-01-31T03:54:17Z","closed_at":null,"body":"odd. as long as I have optimizations off the .hbs gets injected and works. As soon as I turn them on I get an error.\r\n\r\nAn exception of type 'System.InvalidProgramException' occurred in Jurassic.dll but was not handled in user code\r\n\r\nThe error seems to be coming from the Jurassic.dll \r\n\r\nI'm at a loss right now.\r\nin my index view this is the code I am using to flip the injection.\r\n\r\n`@if (System.Web.Optimization.BundleTable.EnableOptimizations)\r\n{\r\n\t@Scripts.Render(BundleConfig.HbsHomeTemplatesPath)\r\n}\r\nelse\r\n{\r\n\t@HTMLBarsHelper.RawTemplateInjector.InjectRawTemplates(\"~/Scripts/homeApp/templates\", new[] { \"*.hbs\" })\r\n}\r\n`"},"comment":{"url":"https://api.github.com/repos/kingpin2k/HTMLBarsHelper/issues/comments/177376696","html_url":"https://github.com/kingpin2k/HTMLBarsHelper/issues/6#issuecomment-177376696","issue_url":"https://api.github.com/repos/kingpin2k/HTMLBarsHelper/issues/6","id":177376696,"user":{"login":"haldiggs","id":1693010,"avatar_url":"https://avatars.githubusercontent.com/u/1693010?v=3","gravatar_id":"","url":"https://api.github.com/users/haldiggs","html_url":"https://github.com/haldiggs","followers_url":"https://api.github.com/users/haldiggs/followers","following_url":"https://api.github.com/users/haldiggs/following{/other_user}","gists_url":"https://api.github.com/users/haldiggs/gists{/gist_id}","starred_url":"https://api.github.com/users/haldiggs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/haldiggs/subscriptions","organizations_url":"https://api.github.com/users/haldiggs/orgs","repos_url":"https://api.github.com/users/haldiggs/repos","events_url":"https://api.github.com/users/haldiggs/events{/privacy}","received_events_url":"https://api.github.com/users/haldiggs/received_events","type":"User","site_admin":false},"created_at":"2016-01-31T03:54:17Z","updated_at":"2016-01-31T03:54:17Z","body":"Will do when I get back in the office. Appreciate any help. Love the fact\nthat you created this product.\n\nOn Saturday, January 30, 2016, kingpin2k <notifications@github.com> wrote:\n\n> Hmmm, that's interesting, can you expound on your versions environment etc?\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/kingpin2k/HTMLBarsHelper/issues/6#issuecomment-177320318>\n> .\n>\n\n\n-- \nHal D. Diggs\n<https://www.mcpvirtualbusinesscard.com/VBCServer/haldiggs/card> - \"Non\nsibi sed patriae\" (Not for self, but for country)\nHalf of communications is listening, and you can't listen with your mouth.\n"}}