{"action":"created","issue":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/712","repository_url":"https://api.github.com/repos/techtalk/SpecFlow","labels_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/712/labels{/name}","comments_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/712/comments","events_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/712/events","html_url":"https://github.com/techtalk/SpecFlow/issues/712","id":179792237,"number":712,"title":"Specflow 2.1 Generator Plugin not being called","user":{"login":"reisv","id":16615366,"avatar_url":"https://avatars.githubusercontent.com/u/16615366?v=3","gravatar_id":"","url":"https://api.github.com/users/reisv","html_url":"https://github.com/reisv","followers_url":"https://api.github.com/users/reisv/followers","following_url":"https://api.github.com/users/reisv/following{/other_user}","gists_url":"https://api.github.com/users/reisv/gists{/gist_id}","starred_url":"https://api.github.com/users/reisv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reisv/subscriptions","organizations_url":"https://api.github.com/users/reisv/orgs","repos_url":"https://api.github.com/users/reisv/repos","events_url":"https://api.github.com/users/reisv/events{/privacy}","received_events_url":"https://api.github.com/users/reisv/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-09-28T14:39:00Z","updated_at":"2016-09-29T10:16:32Z","closed_at":null,"body":"I have a simple Generator plugin that I use with a simple SpecFlow project for a POC and I am having problems with the plugin where it's not being called when I debug the tests.\r\n\r\nMy environment is VS 2015 using MSTest, and SpecFlow 2.1.\r\nThe project compiles without any errors, I made sure the config and attributes were correct. \r\n\r\nAny ideas ?\r\n\r\nThanks\r\n\r\nusing Example;\r\nusing MyFramework.SpecFlowPlugin;\r\nusing TechTalk.SpecFlow.Generator.Plugins;\r\nusing TechTalk.SpecFlow.Infrastructure;\r\n\r\n[assembly: GeneratorPlugin(typeof(MyPlugin))]\r\nnamespace MyFramework.SpecFlowPlugin\r\n{\r\n    public class MyPlugin : IGeneratorPlugin\r\n\r\n    {\r\n        public void Initialize(GeneratorPluginEvents generatorPluginEvents, GeneratorPluginParameters generatorPluginParameters)\r\n        {\r\n            generatorPluginEvents.CustomizeDependencies += GeneratorPluginEvents_CustomizeDependencies;\r\n        }\r\n\r\n        private void GeneratorPluginEvents_CustomizeDependencies(object sender, CustomizeDependenciesEventArgs e)\r\n        {\r\n            e.ObjectContainer.RegisterTypeAs<MyInjection, IMyInjection>();\r\n        }\r\n\r\n    }\r\n}"},"comment":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/comments/250426766","html_url":"https://github.com/techtalk/SpecFlow/issues/712#issuecomment-250426766","issue_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/712","id":250426766,"user":{"login":"reisv","id":16615366,"avatar_url":"https://avatars.githubusercontent.com/u/16615366?v=3","gravatar_id":"","url":"https://api.github.com/users/reisv","html_url":"https://github.com/reisv","followers_url":"https://api.github.com/users/reisv/followers","following_url":"https://api.github.com/users/reisv/following{/other_user}","gists_url":"https://api.github.com/users/reisv/gists{/gist_id}","starred_url":"https://api.github.com/users/reisv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reisv/subscriptions","organizations_url":"https://api.github.com/users/reisv/orgs","repos_url":"https://api.github.com/users/reisv/repos","events_url":"https://api.github.com/users/reisv/events{/privacy}","received_events_url":"https://api.github.com/users/reisv/received_events","type":"User","site_admin":false},"created_at":"2016-09-29T10:16:32Z","updated_at":"2016-09-29T10:16:32Z","body":"The assembly name is MyFramework.SpecflowPlugin.dll.\r\nThe weird part is that if I add another object with the IRuntimePlugin interface and change the plugin type in the app.config to GeneratorAndRuntime, the RuntimePlugin object gets called, meaning it works fine. \r\nSo I don't think it's configuration or the RuntimePlugin probably would also not work. \r\nAs anyone have the latests (version 2.10) IGeneratorPlugin working ? \r\nIf so, could you please zip up a sample and attached it here.\r\n\r\nThanks"}}
{"actor":{"display_login":"reisv"}}