Skip to content

Non-Toolbox support #4

@jrr

Description

@jrr

I haven't investigated this at all yet, but I suspect the problem is that I have an individually-installed Rider, rather than using Toolbox.

I ran e.g. rider foo.sln, and got the following stack trace:

Unhandled Exception: System.ArgumentNullException: Value cannot be null.
Parameter name: path
   at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
   at System.IO.Directory.EnumerateFiles(String path, String searchPattern, SearchOption searchOption)
   at RiderLauncher.ToolboxRiderFinder.GetActiveExecutables()+MoveNext() in C:\Labs\rider\dotnet-rider-cli\src\RiderLauncher\ToolboxRiderFinder.cs:line 27
   at System.Linq.OrderedEnumerable`1.TryGetFirst(Boolean& found)
   at System.Linq.Enumerable.TryGetFirst[TSource](IEnumerable`1 source, Boolean& found)
   at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
   at RiderLauncher.ToolboxRiderFinder.TryGetLatestActiveExecutable(String& path) in C:\Labs\rider\dotnet-rider-cli\src\RiderLauncher\ToolboxRiderFinder.cs:line 17
   at RiderLauncher.Program.Main(String[] args) in C:\Labs\rider\dotnet-rider-cli\src\RiderLauncher\Program.cs:line 19

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions