Description
This is due to a "bug" in the Swift installation procedure for Windows 10. Below, after describing the issue, I have a solution. I am new at Swift, and other thoughts are welcome!
Environment
build number: Swift 5.6.1
OS: Windows 10 desktop computer
Issue Description
On Windows 10, 'swift build' gets error: invalidManifestFormat(":0: error: missing required module 'ucrt'", diagnosticFile: nil)
Test Case
After an install of Swift on Windows 10, run 'swift build', taken from Swift - Getting Started, 'Creating a Package'. That elicits the error above.
Cause
Some WinSDK files are missing.
Solution
After installing Swift 5.6.1, do the 4 copy statements on Swift - Getting Started > On Windows > Support Files, to eliminate the error. I pieced this together after reading: Trouble getting setup on Windows. I did actually install Swift before Visual Studio, as described in #58451.