{"action":"created","issue":{"url":"https://api.github.com/repos/Fody/Fody/issues/154","labels_url":"https://api.github.com/repos/Fody/Fody/issues/154/labels{/name}","comments_url":"https://api.github.com/repos/Fody/Fody/issues/154/comments","events_url":"https://api.github.com/repos/Fody/Fody/issues/154/events","html_url":"https://github.com/Fody/Fody/issues/154","id":57006944,"number":154,"title":"How to handle msbuild cancelation?","user":{"login":"soloman817","id":3477345,"avatar_url":"https://avatars.githubusercontent.com/u/3477345?v=3","gravatar_id":"","url":"https://api.github.com/users/soloman817","html_url":"https://github.com/soloman817","followers_url":"https://api.github.com/users/soloman817/followers","following_url":"https://api.github.com/users/soloman817/following{/other_user}","gists_url":"https://api.github.com/users/soloman817/gists{/gist_id}","starred_url":"https://api.github.com/users/soloman817/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soloman817/subscriptions","organizations_url":"https://api.github.com/users/soloman817/orgs","repos_url":"https://api.github.com/users/soloman817/repos","events_url":"https://api.github.com/users/soloman817/events{/privacy}","received_events_url":"https://api.github.com/users/soloman817/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-02-09T09:33:01Z","updated_at":"2015-03-09T08:23:49Z","closed_at":"2015-03-09T08:23:49Z","body":"Hi guys,\r\n\r\nSometimes, my fody plugin took sometime to finish, and if I click the \"canel building\" buttom in Visual Studio, very bad thing happens, cause during my plugin, I loaded some assemblies, and they are not explicitly disposed. So I was wondering how can fody support msbuild task cancelation?\r\n\r\nI googled it, for example: http://stackoverflow.com/questions/9865982/how-do-you-write-an-msbuild-task-to-support-cancelation\r\n\r\nit looks like the task should implement an interface, but I didn't see it in Fody source, so, any suggestions on this issue?\r\n\r\nRegards,\r\nXiang."},"comment":{"url":"https://api.github.com/repos/Fody/Fody/issues/comments/77815124","html_url":"https://github.com/Fody/Fody/issues/154#issuecomment-77815124","issue_url":"https://api.github.com/repos/Fody/Fody/issues/154","id":77815124,"user":{"login":"SimonCropp","id":122666,"avatar_url":"https://avatars.githubusercontent.com/u/122666?v=3","gravatar_id":"","url":"https://api.github.com/users/SimonCropp","html_url":"https://github.com/SimonCropp","followers_url":"https://api.github.com/users/SimonCropp/followers","following_url":"https://api.github.com/users/SimonCropp/following{/other_user}","gists_url":"https://api.github.com/users/SimonCropp/gists{/gist_id}","starred_url":"https://api.github.com/users/SimonCropp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SimonCropp/subscriptions","organizations_url":"https://api.github.com/users/SimonCropp/orgs","repos_url":"https://api.github.com/users/SimonCropp/repos","events_url":"https://api.github.com/users/SimonCropp/events{/privacy}","received_events_url":"https://api.github.com/users/SimonCropp/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T08:23:49Z","updated_at":"2015-03-09T08:23:49Z","body":"Done in 1.28\r\n\r\nAdd this\r\n\r\n    public void Cancel()\r\n    {\r\n    }"}}