Skip to content

C# parser produces empty diagram when run on ArchLens's own code #101

@mircealungu

Description

@mircealungu

Problem

Running ArchLens on its own C# codebase produces an empty diagram — zero packages, zero edges.

Config used

```json
{
"name": "Archlens",
"rootFolder": ".",
"fileExtensions": [".cs"],
"exclusions": ["obj/", "bin/", ".vs/"],
"saveLocation": "/diagrams/",
"views": {
"completeView": {
"packages": [{"path": "*", "depth": 2}],
"ignorePackages": []
}
}
}
```

Run from `src/c-sharp/`.

Expected

The diagram should show the clean architecture layers: Domain, Application, Infra, CLI — with their dependencies.

Namespaces in the project

```
Archlens.Application
Archlens.Domain.Interfaces
Archlens.Domain.Models.Records
Archlens.Infra.Parsers
Archlens.Infra.Renderers
Archlens.Infra.Factories
Archlens.Infra.SnapshotManagers
```

The `name` field matches the root namespace (`Archlens`), so the parser should be able to resolve internal dependencies.

Output

```json
{"title": "completeView", "packages": [], "edges": []}
```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions