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

Copy link
Copy Markdown
Contributor

Fixes#19935

@github-actions

Copy link
Copy Markdown
Contributor

✅ No release notes required

@majocha

Copy link
Copy Markdown
ContributorAuthor

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-actionsgithub-actionsBot added the ⚠️ Affects-Build-Infra Tooling check: PR touches build infrastructure label Jun 13, 2026
@github-actions

This comment has been minimized.

@majocha

Copy link
Copy Markdown
ContributorAuthor

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

Comment threadsrc/FSharp.Build/Microsoft.FSharp.NetSdk.props
@github-actionsgithub-actionsBot 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-automationgithub-project-automationBot moved this from New to In Progress in F# Compiler and ToolingJun 16, 2026
@T-Gro

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:mainJun 16, 2026
50 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

⚠️ Affects-Build-InfraTooling check: PR touches build infrastructure⚠️ Affects-Test-ToolingTooling 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

@majocha@T-Gro