{"action":"created","issue":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/446","repository_url":"https://api.github.com/repos/techtalk/SpecFlow","labels_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/446/labels{/name}","comments_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/446/comments","events_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/446/events","html_url":"https://github.com/techtalk/SpecFlow/issues/446","id":83909008,"number":446,"title":"SpecFlow extension fails to load in Visual Studio 2013","user":{"login":"lobotommy","id":1850165,"avatar_url":"https://avatars.githubusercontent.com/u/1850165?v=3","gravatar_id":"","url":"https://api.github.com/users/lobotommy","html_url":"https://github.com/lobotommy","followers_url":"https://api.github.com/users/lobotommy/followers","following_url":"https://api.github.com/users/lobotommy/following{/other_user}","gists_url":"https://api.github.com/users/lobotommy/gists{/gist_id}","starred_url":"https://api.github.com/users/lobotommy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lobotommy/subscriptions","organizations_url":"https://api.github.com/users/lobotommy/orgs","repos_url":"https://api.github.com/users/lobotommy/repos","events_url":"https://api.github.com/users/lobotommy/events{/privacy}","received_events_url":"https://api.github.com/users/lobotommy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/techtalk/SpecFlow/labels/VisualStudioIntegration","name":"VisualStudioIntegration","color":"bfd4f2"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-02T08:22:46Z","updated_at":"2016-04-19T20:20:07Z","closed_at":"2016-04-19T20:20:07Z","body":"On a freshly installed Visual Studio 2013 with the ScecFlow extension installed, I added SpecFlow via NuGet to an empty project.\r\n\r\nWhen I add a new Feature-file (File-> Add new item -> SpecFlow Feature File), I get a popup saying that the extension failed to load as soon as the file is displayed. It telles me to have a look at the ActivityLog.xml file which contains the following entry with stack trace: \r\n\r\n```\r\n  <entry>\r\n    <record>1011</record>\r\n    <time>2015/06/02 07:42:14.001</time>\r\n    <type>Error</type>\r\n    <source>Editor or Editor Extension</source>\r\n    <description>System.NullReferenceException: Object reference not set to an instance of an object.&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.ProjectScopeFactory.&lt;.ctor&gt;b__0()&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.Utils.SynchInitializedInstance`1.EnsureInitialized()&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.Utils.SynchInitializedInstance`1.get_Value()&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.ProjectScopeFactory.&lt;.ctor&gt;b__2(Project project)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.Utils.SynchronizedResultCache`3.GetOrCreate(TSource source)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.ProjectScopeFactory.GetProjectScope(Project project)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinLanguageServiceFactory.CreateLanguageService(ITextBuffer textBuffer)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinLanguageServiceFactory.&lt;&gt;c__DisplayClass1.&lt;GetLanguageService&gt;b__0()&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinBufferServiceManager.&lt;&gt;c__DisplayClass2`1.&lt;GetOrCreate&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinBufferServiceManager.GetOrCreate[TService](ITextBuffer textBuffer, Func`1 creator)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinLanguageServiceFactory.GetLanguageService(ITextBuffer textBuffer)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.GherkinFileEditor.GherkinFileClassifierProvider.&lt;&gt;c__DisplayClass1.&lt;GetClassifier&gt;b__0()&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinBufferServiceManager.&lt;&gt;c__DisplayClass2`1.&lt;GetOrCreate&gt;b__0()&#x000D;&#x000A;   at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func`1 creator)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.LanguageService.GherkinBufferServiceManager.GetOrCreate[TService](ITextBuffer textBuffer, Func`1 creator)&#x000D;&#x000A;   at TechTalk.SpecFlow.VsIntegration.GherkinFileEditor.GherkinFileClassifierProvider.GetClassifier(ITextBuffer buffer)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Classification.Implementation.ClassifierTaggerProvider.&lt;&gt;c__DisplayClass1`1.&lt;CreateTagger&gt;b__0(IClassifierProvider provider)&#x000D;&#x000A;   at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InvokeMatchingFactories[TExtensionInstance,TExtensionFactory,TMetadataView](IEnumerable`1 lazyFactories, Func`2 getter, IContentType dataContentType, Object errorSource)</description>\r\n  </entry>\r\n```\r\n\r\nI run Visual Studio with admin rights, have tried both Norwegian and US English language settings, but had no luck. \r\n\r\nAny ideas why it just won't work on this machine?\r\n"},"comment":{"url":"https://api.github.com/repos/techtalk/SpecFlow/issues/comments/212109372","html_url":"https://github.com/techtalk/SpecFlow/issues/446#issuecomment-212109372","issue_url":"https://api.github.com/repos/techtalk/SpecFlow/issues/446","id":212109372,"user":{"login":"SabotageAndi","id":859801,"avatar_url":"https://avatars.githubusercontent.com/u/859801?v=3","gravatar_id":"","url":"https://api.github.com/users/SabotageAndi","html_url":"https://github.com/SabotageAndi","followers_url":"https://api.github.com/users/SabotageAndi/followers","following_url":"https://api.github.com/users/SabotageAndi/following{/other_user}","gists_url":"https://api.github.com/users/SabotageAndi/gists{/gist_id}","starred_url":"https://api.github.com/users/SabotageAndi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SabotageAndi/subscriptions","organizations_url":"https://api.github.com/users/SabotageAndi/orgs","repos_url":"https://api.github.com/users/SabotageAndi/repos","events_url":"https://api.github.com/users/SabotageAndi/events{/privacy}","received_events_url":"https://api.github.com/users/SabotageAndi/received_events","type":"User","site_admin":false},"created_at":"2016-04-19T20:20:07Z","updated_at":"2016-04-19T20:20:07Z","body":"Ok. Please reopen then this issue again or create a new one."}}