-
Notifications
You must be signed in to change notification settings - Fork 17
Extension crashing if specflow .feature file is opened in Visual Studio 2015 RC #12
Comments
This is happening to me simply when running VS 2015 RTM. I do have the Specflow extension installed, and a few |
I don't have Specflow extension. While opening files, VS 2015 RTM won't crash. just shows errors happen, log in ActivityLog.xml. I've seen two kind of exceptions, one is the original, the other is following: Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException: An unexpected exception occurred while binding a dynamic operation The only difference to original post is |
Here is a release that works with 2015. |
Can you give us the installer? I don't have Visual Studio Extensibility Tools installed so can't build the solution. |
I feel dumb. |
Here is a better version thanks to @mika76 |
Not sure about better, all I did was to replace references with vs2015 ones. Should do a pull request? I have no idea what effect it'll have with 2013 though... |
What you did is better as you fixed a number of dll's. I only switched one |
One tip though - you used paths that are unique to your computer. |
Cool. I added it using the GUI so didn't even think about it really. Did you test it with vs2013? |
Oh I misread your previous comment. You did test and it will not work. I guess there will have to be 2 releases? I read somewhere Microsoft want to release these dll's as a nuget package. |
I don't remember hearing something about nuget's. But yes until such a time that such packages are released there will need to be two releases of the extension |
Hmm found this conversation and then the packages here |
I can try no problem but it's late here currently so I will have a sleep and try in the morning 😄 Not sure - but it'll be trial-by-error I suppose |
Great. |
Tried it. All references are supplied except for TeamFoundationServerExt - can't seem to find that class anywhere... |
Which of the four packages did you add? Maybe you can commit the changes and I can download the files from your fork? |
I asked the question on stack overflow and there's an interesting discussion going on... |
Check out NuGet Package Explorer. In general it is a great tool. Either way, it's either a hard coded path to VS install location or reg key lookup |
Extension is crashing when opening a specflow .feature file is opened in Visual Studio 2015 RC.
https://github.com/techtalk/SpecFlow
Microsoft.CSharp.RuntimeBinder.RuntimeBinderInternalCompilerException: An unexpected exception occurred while binding a dynamic operation at Microsoft.CSharp.RuntimeBinder.RuntimeBinder.Bind(DynamicMetaObjectBinder payload, IEnumerable
1 parameters, DynamicMetaObject[] args, DynamicMetaObject& deferredBinding) at Microsoft.CSharp.RuntimeBinder.BinderHelper.Bind(DynamicMetaObjectBinder action, RuntimeBinder binder, IEnumerable
1 args, IEnumerable1 arginfos, DynamicMetaObject onBindingError) at Microsoft.CSharp.RuntimeBinder.CSharpConvertBinder.FallbackConvert(DynamicMetaObject target, DynamicMetaObject errorSuggestion) at System.Dynamic.DynamicMetaObject.BindConvert(ConvertBinder binder) at System.Dynamic.ConvertBinder.Bind(DynamicMetaObject target, DynamicMetaObject[] args) at System.Dynamic.DynamicMetaObjectBinder.Bind(Object[] args, ReadOnlyCollection
1 parameters, LabelTarget returnLabel) at System.Runtime.CompilerServices.CallSiteBinder.BindCore[T](CallSite1 site, Object[] args) at System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at AlekseyNagovitsyn.TfsPendingChangesMargin.MarginCore..ctor(IWpfTextView textView, ITextDocumentFactoryService textDocumentFactoryService, SVsServiceProvider vsServiceProvider, IEditorFormatMapService formatMapService, IScrollMapFactoryService scrollMapFactoryService) at AlekseyNagovitsyn.TfsPendingChangesMargin.MarginCoreFactory.<>c__DisplayClass1.<GetMarginCore>b__0() at Microsoft.VisualStudio.Utilities.PropertyCollection.GetOrCreateSingletonProperty[T](Object key, Func
1 creator) at AlekseyNagovitsyn.TfsPendingChangesMargin.MarginCoreFactory.GetMarginCore(IWpfTextViewHost textViewHost) at AlekseyNagovitsyn.TfsPendingChangesMargin.ScrollbarMarginFactory.CreateMargin(IWpfTextViewHost textViewHost, IWpfTextViewMargin marginContainer) at Microsoft.VisualStudio.Text.Utilities.ContainerMargin.b__25_1(IWpfTextViewMarginProvider mp) at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.InstantiateExtension[TExtension,TMetadata,TExtensionInstance](Object errorSource, Lazy2 provider, Func
2 getter)The text was updated successfully, but these errors were encountered: