Skip to content

[release/11.0.1xx] Source code updates from dotnet/roslyn - #9648

Merged
jjonescz merged 1 commit into
release/11.0.1xxfrom
darc-release/11.0.1xx-8a4020d8-357a-4d61-9644-9dddb876caa1
Sep 23, 2026
Merged

jjonescz merged 1 commit into
release/11.0.1xxfrom
darc-release/11.0.1xx-8a4020d8-357a-4d61-9644-9dddb876caa1

Conversation

@dotnet-maestro

Copy link
Copy Markdown
Contributor

Note

This is a codeflow update. It may contain both source code changes from
the source repo
as well as dependency updates. Learn more here.

This pull request brings the following source code changes

From https://github.com/dotnet/roslyn

Diff the source with this PR branch
darc vmr diff --name-only https://github.com/dotnet/roslyn:21f5916620850b3313916467806cbc3991d43523..https://github.com/dotnet/dotnet:darc-release/11.0.1xx-8a4020d8-357a-4d61-9644-9dddb876caa1

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

PRs from original repository included in this codeflow update:

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
1 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

@dotnet-policy-service
dotnet-policy-service Bot requested a review from a team September 23, 2026 00:56
@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Note

This pull request was not automatically approved because the following files did not match the source diff:

  • src/ProjectData/Microsoft.NET.ProjectData.Tasks/Microsoft.NET.ProjectData.Tasks.csproj

Automatic approval requires either file changes to match between the repo and the VMR or the destination file to fully match the source file in content
The files listed above met neither condition.

Please manually review these files to ensure their changes are expected before merging this pull request.

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Important

While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged).
To avoid complex conflicts, the codeflow cannot continue until this PR is closed or merged.

You can continue with one of the following options:

  • Ignore this and merge this PR as usual without waiting for the new changes.
    Once merged, Maestro will create a new codeflow PR with the new changes.
  • Close this PR and wait for Maestro to open a new one with old and new changes included.
    You will lose any manual changes made in this PR.
    You can also manually trigger the new codeflow right away by running:
    darc trigger-subscriptions --id 3dde3dfb-3c60-449b-a29f-6685c0722f96
    
  • Force a codeflow into this PR at your own risk if you want the new changes.
    User commits made to this PR might be reverted.
    darc trigger-subscriptions --id 3dde3dfb-3c60-449b-a29f-6685c0722f96 --force
    

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

1 similar comment
@dotnet-maestro

Copy link
Copy Markdown
Contributor Author

Important

While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged).
To avoid complex conflicts, the codeflow cannot continue until this PR is closed or merged.

You can continue with one of the following options:

  • Ignore this and merge this PR as usual without waiting for the new changes.
    Once merged, Maestro will create a new codeflow PR with the new changes.
  • Close this PR and wait for Maestro to open a new one with old and new changes included.
    You will lose any manual changes made in this PR.
    You can also manually trigger the new codeflow right away by running:
    darc trigger-subscriptions --id 3dde3dfb-3c60-449b-a29f-6685c0722f96
    
  • Force a codeflow into this PR at your own risk if you want the new changes.
    User commits made to this PR might be reverted.
    darc trigger-subscriptions --id 3dde3dfb-3c60-449b-a29f-6685c0722f96 --force
    

💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance.

@jjonescz
jjonescz merged commit 10c0bff into release/11.0.1xx Sep 23, 2026
16 checks passed
@jjonescz
jjonescz deleted the darc-release/11.0.1xx-8a4020d8-357a-4d61-9644-9dddb876caa1 branch September 23, 2026 08:41
nagilson added a commit to dotnet/sdk that referenced this pull request Sep 24, 2026
Problem:
Every build leg of this codeflow fails with MSB3030:
  Could not copy ".packages/microsoft.net.projectdata.tasks/5.12.0-1.26473.115/
  lib/netstandard2.0/Microsoft.NET.ProjectData.targets" (and .Schema.props)
  because it was not found.

Root cause:
tool_projectdata.csproj (added in #56243) copies the ProjectData targets and
schema props from a hardcoded lib/netstandard2.0/ folder in the
Microsoft.NET.ProjectData.Tasks package. Roslyn (flowed via dotnet/dotnet#9648)
retargeted Microsoft.NET.ProjectData.Tasks from netstandard2.0 to
$(NetRoslynSourceBuild) and packs these files under lib\$(TargetFramework)\.
Package 5.12.0-1.26473.115 therefore ships them in lib/net10.0/ (the
source-only build uses $(NetCurrent)), so the hardcoded path no longer exists.

Fix:
- Glob lib/*/ for the two files so the layout does not depend on the TFM
  Roslyn builds the task package for.
- Add a build-time check that exactly the two expected files were found.
  Sdk.targets imports Microsoft.NET.ProjectData.targets only if it exists,
  so without this check a future package layout change would silently
  disable the feature instead of failing the build.

Validation:
- Reproduced the MSB3030 locally at the PR head.
- With the fix, publishing tool_projectdata.csproj produces
  Microsoft.NET.ProjectData.{targets,Schema.props,Tasks.dll}; the targets
  load the task via $(MSBuildThisFileDirectory), so the layout is intact.
- Overriding the package path to a missing folder hits the new error.

Co-authored-by: Copilot <[email protected]>
Copilot-Session: 5d7abc6b-347c-43e3-93cb-c75ee7b81f93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant