Fix .NET DLL loading and deduplicate init code#97
Merged
Conversation
- Generate runtimeconfig.json via csproj setting - Use assembly names with sys.path instead of file paths for clr.AddReference - Auto-detect DOTNET_ROOT on macOS Homebrew - Extract duplicated dotnet init block into _init_dotnet() (fixes #84) - Fixes #96 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Contributor
|
ArchLens - No architecturally relevant changes to the existing views |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
runtimeconfig.jsonand wrongclr.AddReferenceusage (file paths instead of assembly names +sys.path)DOTNET_ROOTon macOS Homebrew so users don't need to set it manually_init_dotnet()helperFixes #84, fixes #96
Test plan
archlens renderon a Java/C# project works without manually settingDOTNET_ROOTarchlens renderon a Python project still works (no regression)🤖 Generated with Claude Code