You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When relative path is specified to PSScriptAnalyzerSettings.psd1 the EditorServices cannot find the file. It works correctly with absolute paths though.
Relative path:
EditorServices.log:
2019-11-06 11:51:10.079 +01:00 [VRB] Using Script Analyzer settings path - 'D:\d%3A\Users\Bukem\Documents\PowerShell\PSScriptAnalyzerSettings.psd1'.
2019-11-06 11:51:16.056 +01:00 [ERR] Cannot find the path 'D:\d%3A\Users\Bukem\Documents\PowerShell\PSScriptAnalyzerSettings.psd1'.
kborowinski
changed the title
EditorServices can't find PSScriptAnalyzerSettings.psd1 from relative path
EditorServices can't find PSScriptAnalyzerSettings.psd1 in relative path
Nov 6, 2019
System Details
System Details Output
Issue Description
When relative path is specified to PSScriptAnalyzerSettings.psd1 the EditorServices cannot find the file. It works correctly with absolute paths though.
Relative path:
EditorServices.log:
Absolute path:
EditorServices.log:
It looks like the relative path is not properly decoded from the Uri format?
Expected Behaviour
EditorServices should be able to load PSScriptAnalyzerSettings.psd1 from relative path.
The text was updated successfully, but these errors were encountered: