ardalis / ardalis/modulith

Prefer csproj method for InternalsVisibleTo

Open
#55 0 comments 1 reaction 0 assignees View on GitHub
enhancement good first issue help wanted
Dominant language
C#
Stars
184
Forks
20
PR merge metrics
No merged PRs in 30d

Description

https://learn.microsoft.com/en-us/dotnet/core/project-sdk/msbuild-props#internalsvisibleto

This way, you can skip the AssemblyInfo.cs creation.

Also, [this](https://www.meziantou.net/declaring-internalsvisibleto-in-the-csproj.htm) might work:

```


net6.0



```

Contributor guide

No contributing guide indexed for this repository

Research direction

Read the linked MSBuild InternalsVisibleTo documentation and inspect the repository's .csproj and AssemblyInfo.cs files. Confirm how tests currently access internals, then verify that the project configuration provides the same access without creating AssemblyInfo.cs and that the test suite still passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.