RID .NET изменился с .NET8, поэтому я изменил PropertyGroup в файле csproj следующим образом.
Код: Выделить всё
WinExe
net8.0-windows10.0.19041.0
10.0.17763.0
Test
app.manifest
x64
win-x64
win-$(Platform).pubxml
true
true
After that, in the xaml editor, it initially normally referenced Microsoft.UI.Xaml.Controls namespace, but at some point, without knowing why, the error occurred by referencing the System.Windows.Controls namespace, and auto-completion did not work.


The error is not described, but by mouse-up and looking at the type of Grid, you can see that it is "System.Windows.Controls.Grid."
When I compile it, it works normally, but it's difficult to code due to bugs in the editor.
Does anyone know why this bug is happening?
Источник: https://stackoverflow.com/questions/775 ... xaml-edito