Thanks Matteo,
Result of compilation:
Severity Code Description Project File Line Suppression State
Warning Because your app is being built as AnyCPU no Microsoft.VCRTForwarders.140 DLLs were copied to your ouput folder. Microsoft.VCRTForwarders.140 only supports x86 or x64 applications due to a C++ Runtime dependency. Please change your app project architecture to x86 or x64 in the Configuration Manager. ModernWpfDemo C:\Users\cn1629\.nuget\packages\microsoft.vcrtforwarders.140\1.0.2-rc\build\netcoreapp2.0\Microsoft.VCRTForwarders.140.targets 33
Severity Code Description Project File Line Suppression State
Warning 81010002 Unrecognized Element "maxversiontested" in namespace "urn:schemas-microsoft-com:compatibility.v1". ModernWpfDemo C:\Prj\Samples\UWP\MCTSummit2020-MiddleEast-master 2\MCTSummit2020-MiddleEast-master\ModernWpfDemo\ModernWpfDemo\obj\AnyCPU\Debug\netcoreapp3.1\Manifests\app.manifest 1
Severity Code Description Project File Line Suppression State
Warning 81010002 Unrecognized Element "maxversiontested" in namespace "urn:schemas-microsoft-com:compatibility.v1". ModernWpfDemo C:\Prj\Samples\UWP\MCTSummit2020-MiddleEast-master 2\MCTSummit2020-MiddleEast-master\ModernWpfDemo\ModernWpfDemo\app.manifest 1
Severity Code Description Project File Line Suppression State
Error MSB3270 There was a mismatch between the processor architecture of the project being built "AMD64" and the processor architecture of the reference "C:\Prj\Samples\UWP\MCTSummit2020-MiddleEast-master 2\MCTSummit2020-MiddleEast-master\ModernWpfDemo\ModernWpfDemo\bin\Debug\netcoreapp3.1\win-x86\ModernWpfDemo.dll", "x86". This mismatch may cause runtime failures. Please consider changing the targeted processor architecture of your project through the Configuration Manager so as to align the processor architectures between your project and references, or take a dependency on references with a processor architecture that matches the targeted processor architecture of your project. ModernWpfDemo.Package C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets 2106
I wonder if Microsoft employees could have something that is not included in Visual Studio installation?
I have latest Visual Studio version and Windows 10 v1909. My desktop Windows version was initially installed in french (not my choice).
Eric