EditorConfigLanguage icon indicating copy to clipboard operation
EditorConfigLanguage copied to clipboard

Exception from HRESULT: 0x80070057 (E_INVALIDARG)

Open DemoCrazer opened this issue 7 years ago • 1 comments

If I try to add .editorconfig file under some directory(not under the solution), following error message is displayed.

The parameter is incorrect.
Exception from HRESULT: 0x80070057 (E_INVALIDARG)

DemoCrazer avatar Jun 05 '18 09:06 DemoCrazer

I could reproduce this in the latest Visual Studio 2017 (v15.9.14). Here are the steps:

  1. Create a solution.
  2. Create a project in the solution.
  3. Try to add a .editorconfig (Standard) file to the project (not the solution!).

The exception will get thrown on the following line: https://github.com/madskristensen/EditorConfigLanguage/blob/d4c5f46eda5c8a6bb9254d08eaebb99c22e30060/src/Adornments/InheritanceAdornment.cs#L154

Advanium avatar Jul 13 '19 20:07 Advanium