dotnet / dotnet/api-docs-sync

Tool fails to run with System.InvalidOperationException:

Open
#38 7 comments 0 reactions 1 assignee Claimed by @safern View on GitHub
Dominant language
C#
Stars
14
Forks
21
PR merge metrics
No merged PRs in 30d

Description

I tried to run the tool on a dotnet/runtime library and hit the following error:
```
Specified Docs xml locations:
- c:\src\dotnet\dotnet-api-docs\xml
Included assemblies:
- System.IO.Pipelines
Included namespaces:
- System.IO
Unhandled exception. System.InvalidOperationException: Sequence contains no elements
at System.Linq.ThrowHelper.ThrowNoElementsException()
at System.Linq.Enumerable.First[TSource](IEnumerable`1 source)
at Libraries.ToTripleSlashPorter.LoadVSInstance() in C:\src\carlossanlop\DocsPortingTool\Libraries\ToTripleSlashPorter.cs:line 439
at Libraries.ToTripleSlashPorter.Start(Configuration config) in C:\src\carlossanlop\DocsPortingTool\Libraries\ToTripleSlashPorter.cs:line 112
at DocsPortingTool.DocsPortingTool.Main(String[] args) in C:\src\carlossanlop\DocsPortingTool\Program\DocsPortingTool.cs:line 22
```

@carlossanlop

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.