Building my project sometimes fails with error MSB4006. The error occurs when there is a Windows Application Packaging project referencing some projects which use the cppwinrt NuGet package, and MSBuild is building the projects in parallel.
I've included a minimal repro project here. To reproduce the issue, run msbuild App1.sln /p:Configuration=Release /p:Platform=x64 /m:4.
I confirmed that the first version of the NuGet package which exhibits the bug is 2.0.191202.2, so the issue has been present since since #432 was introduced.