dotnet / dotnet/source-indexer

Aspire source index is failing

Open
#253 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
55
Forks
46
Avg merge
23h 42m
Merged PRs (30d)
15

Description

The latest indexed code is over a month old - https://github.com/microsoft/aspire/commit/d4a981745dc8b1fdca870b77601ba6e47b1a509d and it isn't picking up new methods added since then.

The indexing is failing with this:

```
12:14:33 Document generation failed for: D:\a\_work\1\s\bin\repo\aspire\src\artifacts\obj\Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration\Debug\net10.0\Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.GlobalUsings.g.cs
System.IO.DirectoryNotFoundException: Could not find a part of the path 'D:\a\_work\1\s\bin\index\index\Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration\artifacts\obj\Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration\Debug\net10.0\Aspire.Microsoft.Extensions.Configuration.AzureAppConfiguration.GlobalUsings.g.cs.html'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.StreamWriter.CreateFile(String path, Boolean append, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamWriter..ctor(String path, Boolean append, Encoding encoding)
at Microsoft.SourceBrowser.HtmlGenerator.DocumentGenerator.d__15.MoveNext() in D:\a\_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\DocumentGenerator.cs:line 111
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
at Microsoft.SourceBrowser.HtmlGenerator.ProjectGenerator.d__62.MoveNext() in D:\a\_work\1\s\src\SourceBrowser\src\HtmlGenerator\Pass1-Generation\ProjectGenerator.cs:line 230
```

cc @radical

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.