{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Razor/issues/2492","repository_url":"https://api.github.com/repos/aspnet/Razor","labels_url":"https://api.github.com/repos/aspnet/Razor/issues/2492/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Razor/issues/2492/comments","events_url":"https://api.github.com/repos/aspnet/Razor/issues/2492/events","html_url":"https://github.com/aspnet/Razor/issues/2492","id":342839648,"node_id":"MDU6SXNzdWUzNDI4Mzk2NDg=","number":2492,"title":"Razor generate build task concatenates absolute paths","user":{"login":"nfplee","id":988106,"node_id":"MDQ6VXNlcjk4ODEwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/988106?v=4","gravatar_id":"","url":"https://api.github.com/users/nfplee","html_url":"https://github.com/nfplee","followers_url":"https://api.github.com/users/nfplee/followers","following_url":"https://api.github.com/users/nfplee/following{/other_user}","gists_url":"https://api.github.com/users/nfplee/gists{/gist_id}","starred_url":"https://api.github.com/users/nfplee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfplee/subscriptions","organizations_url":"https://api.github.com/users/nfplee/orgs","repos_url":"https://api.github.com/users/nfplee/repos","events_url":"https://api.github.com/users/nfplee/events{/privacy}","received_events_url":"https://api.github.com/users/nfplee/received_events","type":"User","site_admin":false},"labels":[{"id":74542524,"node_id":"MDU6TGFiZWw3NDU0MjUyNA==","url":"https://api.github.com/repos/aspnet/Razor/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-19T18:26:34Z","updated_at":"2018-07-20T21:29:54Z","closed_at":null,"author_association":"NONE","body":"I have posted the following issue on stack overflow:\r\n\r\nhttps://stackoverflow.com/questions/51427091/msbuild-task-to-import-a-common-viewimports-file\r\n\r\nHowever the more I've looked into it, the more it seems that this may be a bug. It looks to me as though the path has been concatenated and doesn't take into account that I have specified an absolute path.\r\n\r\nI could be talking complete rubbish as I'm only beginning to get to grips with MsBuild."},"comment":{"url":"https://api.github.com/repos/aspnet/Razor/issues/comments/406731851","html_url":"https://github.com/aspnet/Razor/issues/2492#issuecomment-406731851","issue_url":"https://api.github.com/repos/aspnet/Razor/issues/2492","id":406731851,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjczMTg1MQ==","user":{"login":"nfplee","id":988106,"node_id":"MDQ6VXNlcjk4ODEwNg==","avatar_url":"https://avatars0.githubusercontent.com/u/988106?v=4","gravatar_id":"","url":"https://api.github.com/users/nfplee","html_url":"https://github.com/nfplee","followers_url":"https://api.github.com/users/nfplee/followers","following_url":"https://api.github.com/users/nfplee/following{/other_user}","gists_url":"https://api.github.com/users/nfplee/gists{/gist_id}","starred_url":"https://api.github.com/users/nfplee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfplee/subscriptions","organizations_url":"https://api.github.com/users/nfplee/orgs","repos_url":"https://api.github.com/users/nfplee/repos","events_url":"https://api.github.com/users/nfplee/events{/privacy}","received_events_url":"https://api.github.com/users/nfplee/received_events","type":"User","site_admin":false},"created_at":"2018-07-20T21:29:54Z","updated_at":"2018-07-20T21:29:54Z","author_association":"NONE","body":"Hi it’s related to the following issue:\r\n\r\nhttps://github.com/aspnet/Razor/issues/2481\r\n\r\nBasically I’d like to have a _ViewImports file in a common library and be able to reference this library from any libraries using the Razor SDK. Then for any views within the library it will use this _ViewImports file.\r\n\r\nThe referenced issue above has a solution which works if you do a project reference to this library however I’d like to do a package reference.\r\n\r\nAfter looking into things it seems to me that it’s a problem with the Razor SDK MsBuild tasks. "}}
{"actor":{"display_login":"nfplee"}}