microsoft.activities.build.dll Error in Windows 10 and 11: Workflow build assembly

A legacy Workflow Foundation project fails during compilation after being opened on a new development PC.
The Windows file inventory identifies microsoft.activities.build.dll as Microsoft.Activities.Build.dll. Capture the actual error, file path and Windows build before making changes.
Check where the error occurs
Record the failed assembly, target framework and build tool from the build log. A successful runtime launch on another PC does not prove the build tools are installed.
Repair the affected feature
Restore the documented Visual Studio workload and framework targeting pack for that project. Ask the original publisher for a supported build environment if the target is obsolete.
If Windows reports corruption of a protected system file, use Microsoft’s system file repair procedure. Obtain software and drivers through Windows Update or the applicable publisher.
Verify the repair
Build a clean copy and test one sample workflow with no changes to the production deployment.
See the publisher’s guidance, the exact Windows file record, and the related PC Repair Atlas guide.