editorconfig / editorconfig-visualstudio

EditorConfig Visual Studio Addin
http://editorconfig.org
Other
353 stars 75 forks source link

EditorConfigWrapper not found on VisualStudio 2015 #26

Closed felipeleusin closed 9 years ago

felipeleusin commented 9 years ago

After opening a project without a .editorconfig file i'm getting an error from VisualStudio, after checking the ActivityLog.xml file I found the following error:

662 Error Editor or Editor Extension System.IO.FileNotFoundException: Could not load file or assembly 'EditorConfigWrapper.dll' or one of its dependencies. The specified module could not be found. File name: 'EditorConfigWrapper.dll' at EditorConfig.VisualStudio.Plugin.LoadSettings(String path) at EditorConfig.VisualStudio.Plugin..ctor(IWpfTextView view, ITextDocument document, DTE dte, ErrorListProvider messageList, IViewSettingsContainer viewSettingsContainer) at EditorConfig.VisualStudio.PluginFactory.TextViewCreated(IWpfTextView view) at Microsoft.VisualStudio.Text.Editor.Implementation.WpfTextView.<>c__DisplayClass241_0.<BindContentTypeSpecificAssets>b__1() at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

Have tried removing and reinstalling the addon and the error persists.

felipeleusin commented 9 years ago

From what I looked this is fixed by the #22 mega refactor PR using the vsix provided in the PR removed the error.

Mpdreamz commented 9 years ago

Still interesting though, using the published version of editorconfig-visualstudio on 2015 without a problem.

The mega refactor PR also switched to a managed version (C#) of the editorconfig core library so it should be easier to redistribute.