Skip to content

chore: migrate InternalsVisibleTo declarations to project files#265

Merged
j-d-ha merged 4 commits into
mainfrom
feature/#262-migrate-AssemblyInfo.cs-to-csproj-properties
Dec 21, 2025
Merged

chore: migrate InternalsVisibleTo declarations to project files#265
j-d-ha merged 4 commits into
mainfrom
feature/#262-migrate-AssemblyInfo.cs-to-csproj-properties

Conversation

@j-d-ha

@j-d-ha j-d-ha commented Dec 21, 2025

Copy link
Copy Markdown
Collaborator

🚀 Pull Request

📋 Summary

Migrates InternalsVisibleTo assembly attribute declarations from AssemblyInfo.cs files to MSBuild <InternalsVisibleTo> items in .csproj files. This modernizes the project structure by using the more declarative MSBuild approach over traditional assembly attributes.

This change also disables namespace check highlighting in ReSharper inspection rules to reduce noise in the IDE.

Changes:

  • Removed Properties/AssemblyInfo.cs files from all projects (7 files deleted)
  • Added <InternalsVisibleTo> items to .csproj files for:
    • MinimalLambda
    • MinimalLambda.SourceGenerators
    • MinimalLambda.Testing
    • Test lambda projects (DiLambda, NoEventLambda, NoResponseLambda, SimpleLambda)
  • Updated MinimalLambda.sln.DotSettings to disable CheckNamespace inspection

✅ Checklist

  • My changes build cleanly
  • I've added/updated relevant tests
  • I've added/updated documentation or README
  • I've followed the coding style for this project
  • I've tested the changes locally (if applicable)

🧪 Related Issues or PRs

Closes #262


💬 Notes for Reviewers

This is a purely structural change with no functional impact. The InternalsVisibleTo declarations remain identical, just moved from C# code to MSBuild project files. All deleted AssemblyInfo.cs files contained only InternalsVisibleTo declarations.

…ules

- Updated MinimalLambda.sln.DotSettings to set CheckNamespace inspection severity to DO_NOT_SHOW.
…files

- Removed `InternalsVisibleTo` attributes from AssemblyInfo.cs files.
- Added `InternalsVisibleTo` declarations directly to project files across all relevant projects.
@github-actions github-actions Bot added the type: chore Maintenance task label Dec 21, 2025
@j-d-ha
j-d-ha enabled auto-merge (squash) December 21, 2025 18:09
@j-d-ha j-d-ha changed the title chore(project): migrate InternalsVisibleTo declarations to project files chore: migrate InternalsVisibleTo declarations to project files Dec 21, 2025
- Updated descriptions for `<type>` and `<scope>` to specify "Valid values are" for clarity.
- Updated the description to indicate that `<scope>` is optional.
@sonarqubecloud

Copy link
Copy Markdown

@j-d-ha
j-d-ha merged commit 9951080 into main Dec 21, 2025
6 checks passed
@j-d-ha
j-d-ha deleted the feature/#262-migrate-AssemblyInfo.cs-to-csproj-properties branch December 21, 2025 18:14
@codecov

codecov Bot commented Dec 21, 2025

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
- Coverage   88.76%   88.73%   -0.04%     
==========================================
  Files         132      132              
  Lines        3231     3231              
  Branches      321      321              
==========================================
- Hits         2868     2867       -1     
- Misses        247      248       +1     
  Partials      116      116              

see 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2493c37...b319bca. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: chore Maintenance task

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(build): migrate AssemblyInfo.cs to csproj properties

1 participant