EditorConfigLanguage
EditorConfigLanguage copied to clipboard
Exception from HRESULT: 0x80070057 (E_INVALIDARG)
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)
I could reproduce this in the latest Visual Studio 2017 (v15.9.14). Here are the steps:
- Create a solution.
- Create a project in the solution.
- 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