Skip to content

[repo-assist] eng: remove AssemblyInfo files; use SDK-generated assembly attributes#1776

Merged
dsyme merged 2 commits into
mainfrom
repo-assist/eng-remove-assemblyinfo-files-2026-05-09-56d79a4a370128b1
May 10, 2026
Merged

[repo-assist] eng: remove AssemblyInfo files; use SDK-generated assembly attributes#1776
dsyme merged 2 commits into
mainfrom
repo-assist/eng-remove-assemblyinfo-files-2026-05-09-56d79a4a370128b1

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot commented May 9, 2026

🤖 This is an automated pull request from Repo Assist, an AI assistant for this repository.

Closes #1775

What

Removes the legacy FAKE-generated AssemblyInfo*.fs files and the unused Properties/AssemblyInfo.cs in the CSharp test project, switching to the standard SDK assembly-info generation.

Changes

  • Deleted all 9 src/AssemblyInfo*.fs files (were auto-generated by FAKE)
  • Deleted tests/FSharp.Data.Core.Tests.CSharp/Properties/AssemblyInfo.cs (dead code — excluded from compile by EnableDefaultCompileItems=false)
  • Removed <GenerateAssemblyInfo>false</GenerateAssemblyInfo> and <Compile Include="../AssemblyInfo*.fs" /> from all 9 .fsproj files in src/
  • Added <Product>FSharp.Data</Product> and <AssemblyDescription> to Directory.Build.props (shared values)
  • Updated the Build FAKE target to pass -p:Version=<nuget-version> to MSBuild so the assembly version is set correctly from RELEASE_NOTES.md
  • Removed the AssemblyInfo FAKE target and its dependency in the build pipeline ("Clean" ==> "AssemblyInfo" ==> "CheckFormat" ==> "Build""Clean" ==> "CheckFormat" ==> "Build")
  • Removed Fake.DotNet.AssemblyInfoFile from build/paket.references
  • Bumped version to 8.1.14 in RELEASE_NOTES.md

The AssemblyTitle attribute is set automatically by the SDK to match the assembly name (e.g. FSharp.Data.Http), which is correct for all projects.

Test Status

  • ✅ Build: succeeded (0 errors, 27 pre-existing warnings)
  • ✅ Tests: all passed — 3814 tests across all test projects

Generated by 🌈 Repo Assist, see workflow run. Learn more.

To install this agentic workflow, run

gh aw add githubnext/agentics/workflows/repo-assist.md@c7d030cd6d4607b90d9ac3ffc8b24aff4f251632

- Delete all src/AssemblyInfo*.fs files (FAKE-generated, legacy approach)
- Delete tests/.../Properties/AssemblyInfo.cs (unused dead code)
- Remove GenerateAssemblyInfo=false and Compile includes from all .fsproj files
- Add Product and AssemblyDescription to Directory.Build.props (shared values)
- Pass Version to the Build MSBuild step so assemblies get the right version
- Remove AssemblyInfo FAKE target and dep from build pipeline
- Remove Fake.DotNet.AssemblyInfoFile from build/paket.references
- Bump version to 8.1.14

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dsyme dsyme marked this pull request as ready for review May 10, 2026 11:41
@dsyme dsyme merged commit f0a229d into main May 10, 2026
3 checks passed
@dsyme dsyme deleted the repo-assist/eng-remove-assemblyinfo-files-2026-05-09-56d79a4a370128b1 branch May 10, 2026 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove use of assembly files and attributes

1 participant