Skip to content

Fix ParallelCompilation property passing#19945

Merged
T-Gro merged 4 commits into
dotnet:mainfrom
majocha:fix-parallelcompilation-prop
Jun 16, 2026
Merged

Fix ParallelCompilation property passing#19945
T-Gro merged 4 commits into
dotnet:mainfrom
majocha:fix-parallelcompilation-prop

Conversation

@majocha

@majocha majocha commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Fixes #19935

@github-actions

Copy link
Copy Markdown
Contributor

✅ No release notes required

@majocha

majocha commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

It looks that unlike Roslyn, we don't have dedicated integration tests around Fsc MSBuild task, letting bugs like this one slip through sometimes.

@github-actions github-actions Bot added the ⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure label Jun 13, 2026
@github-actions

This comment has been minimized.

@majocha

majocha commented Jun 13, 2026

Copy link
Copy Markdown
Contributor Author

The problem is --parallelcompilation will trigger FS0075. This will break projects with warnings as errors.

Comment thread src/FSharp.Build/Microsoft.FSharp.NetSdk.props
@github-actions github-actions Bot added the ⚠️ Affects-Test-Tooling Tooling check: PR touches test framework infrastructure label Jun 15, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🔍 Tooling Safety Check — Affects-Build-Infra, Affects-Test-Tooling
Affects-Build-Infra: modifies Microsoft.FSharp.NetSdk.props and .Targets
Affects-Test-Tooling: adds FSharpTargetsShim/FSharpPropsShim to tests/AheadOfTime/Directory.Build.props

Generated by PR Tooling Safety Check · opus46 3.3M ·

@github-project-automation github-project-automation Bot moved this from New to In Progress in F# Compiler and Tooling Jun 16, 2026
@T-Gro

T-Gro commented Jun 16, 2026

Copy link
Copy Markdown
Member

@majocha :

https://github.com/dotnet/fsharp/tree/main/tests/fsharp/SDKTests/tests is something like "unit tests" for individual pieces of logic contained within our msbuild artifacts.

@T-Gro T-Gro merged commit 822e804 into dotnet:main Jun 16, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure ⚠️ Affects-Test-Tooling Tooling check: PR touches test framework infrastructure

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

$(ParallelCompilation) never reaches the Fsc task — targets pass the item @(ParallelCompilation) instead of the property

2 participants