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 omnisharp-server starts without a solution int command line argument it tries to load all the *.cs files in the path. If one of the folder within the path path isn't accessible then it throws System.UnauthorizedAccessException and exits. It could probably skip ,log and continue.
Unhandled Exception: System.UnauthorizedAccessException: Access to the path 'C:\ Users\nsrinivasan\AppData\Local\Application Data' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator``1.AddSearchableDirsToStack(SearchDa ta localSearchData) at System.IO.FileSystemEnumerableIterator``1.MoveNext() at System.Collections.Generic.List``1..ctor(IEnumerable``1 collection) at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOptio n searchOption) at System.IO.Abstractions.DirectoryInfoWrapper.GetFiles(String searchPattern, SearchOption searchOption) at OmniSharp.Solution.CSharpProject..ctor(ISolution solution, Logger logger, String folderPath, IFileSystem fileSystem) in c:\n\OmniSharpServer\OmniSharp\Sol ution\CSharpProject.cs:line 59 at OmniSharp.Solution.CSharpFolder.LoadSolution() in c:\n\OmniSharpServer\Omn iSharp\Solution\CSharpFolder.cs:line 28
The text was updated successfully, but these errors were encountered:
When omnisharp-server starts without a solution int command line argument it tries to load all the *.cs files in the path. If one of the folder within the path path isn't accessible then it throws System.UnauthorizedAccessException and exits. It could probably skip ,log and continue.
Unhandled Exception: System.UnauthorizedAccessException: Access to the path 'C:\ Users\nsrinivasan\AppData\Local\Application Data' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileSystemEnumerableIterator``1.AddSearchableDirsToStack(SearchDa ta localSearchData) at System.IO.FileSystemEnumerableIterator``1.MoveNext() at System.Collections.Generic.List``1..ctor(IEnumerable``1 collection) at System.IO.DirectoryInfo.InternalGetFiles(String searchPattern, SearchOptio n searchOption) at System.IO.Abstractions.DirectoryInfoWrapper.GetFiles(String searchPattern, SearchOption searchOption) at OmniSharp.Solution.CSharpProject..ctor(ISolution solution, Logger logger, String folderPath, IFileSystem fileSystem) in c:\n\OmniSharpServer\OmniSharp\Sol ution\CSharpProject.cs:line 59 at OmniSharp.Solution.CSharpFolder.LoadSolution() in c:\n\OmniSharpServer\Omn iSharp\Solution\CSharpFolder.cs:line 28
The text was updated successfully, but these errors were encountered: