Closed xiedongweo closed 6 years ago
Hi @xiedongweo.
As detailed on #2047, this is a known issue in MSBuild and shouldn't affect successful building of the projects/solution and debugging the sample app. If you can't run the sample app or the build fails, make sure to update VS, have all the required dependencies installed and clean your local copy by running git clean -xfd
(with VS closed).
Closing the issue.
@kbrons Thank you.
I'm submitting a...
Regression (a behavior that used to work and stopped working in a new release) -->
Current behavior
Expected behavior
Minimal reproduction of the problem with instructions
Environment
When I build the whole solution, I got the errors:
Severity Code Description Project File Line Suppression State Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid is not compatible with net452 (.NETFramework,Version=v4.5.2) / win-x86. Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls is not compatible with net452 (.NETFramework,Version=v4.5.2) / win-x64. Project Microsoft.Toolkit.Uwp.UI.Controls supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid is not compatible with net452 (.NETFramework,Version=v4.5.2) / win. Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls is not compatible with net452 (.NETFramework,Version=v4.5.2). Project Microsoft.Toolkit.Uwp.UI.Controls supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid is not compatible with net452 (.NETFramework,Version=v4.5.2) / win-x64. Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid is not compatible with net452 (.NETFramework,Version=v4.5.2). Project Microsoft.Toolkit.Uwp.UI.Controls.DataGrid supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls is not compatible with net452 (.NETFramework,Version=v4.5.2) / win-x86. Project Microsoft.Toolkit.Uwp.UI.Controls supports: uap10.0 (UAP,Version=v10.0)
Error NU1201 Project Microsoft.Toolkit.Uwp.UI.Controls is not compatible with net452 (.NETFramework,Version=v4.5.2) / win. Project Microsoft.Toolkit.Uwp.UI.Controls supports: uap10.0 (UAP,Version=v10.0)
You could build the 'Microsoft.Toolkit.Uwp.SampleApp.csproj' to reproduce this issue.