When trying the demo app, I had a ReflectionTypeLoadException.
Its inner exceptions are:
+ [0] {"Method 'GetProcessor' in type 'VSEmbed.Roslyn.Dev14KeyProcessorProvider' from assembly 'VSEmbed.Roslyn, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.":"VSEmbed.Roslyn.Dev14KeyProcessorProvider"} System.Exception {System.TypeLoadException}
+ [1] {"Method 'GetProcessor' in type 'VSEmbed.Roslyn.RoslynKeyProcessorProvider' from assembly 'VSEmbed.Roslyn, Version=1.6.0.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.":"VSEmbed.Roslyn.RoslynKeyProcessorProvider"} System.Exception {System.TypeLoadException}
It seems to be due to GetProcessor having a IWpfTextView parameter, and since VSEmbed assembly uses Microsoft.VisualStudio.Text.UI.Wpf from VS11 while VSEmbed.Roslyn assembly uses Microsoft.VisualStudio.Text.UI.Wpf from VS14.
I can work around it by replacing all VS references in VSEmbed and VSEmbed.DemoApp to VS14 one.
It happened on two different PC having both VS11 and VS14 installed.
When trying the demo app, I had a ReflectionTypeLoadException.
Its inner exceptions are:
It seems to be due to
GetProcessorhaving aIWpfTextViewparameter, and since VSEmbed assembly usesMicrosoft.VisualStudio.Text.UI.Wpffrom VS11 while VSEmbed.Roslyn assembly usesMicrosoft.VisualStudio.Text.UI.Wpffrom VS14.I can work around it by replacing all VS references in VSEmbed and VSEmbed.DemoApp to VS14 one.
It happened on two different PC having both VS11 and VS14 installed.