net7Repro

Run the following command from Project1 and then Project2 (or vice versa).

dotnet build /target:DisplayMessages