Repository navigation
Conversation
|
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: 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. |
|
Note This pull request was not automatically approved because the following files did not match the source diff:
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 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. |
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
1 similar comment
|
Important While this PR was open, the source repository has received code changes from this repository (an opposite codeflow merged). You can continue with one of the following options:
💡 You may consult the FAQ for more information or tag @dotnet/prodconsvcs for assistance. |
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
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