So I run into a problem where my project suddenly got an error saying the same as the title I ve made. I never run into this before. This is happening when I run visual studio 2020 in regular mode, but when I run it as Admin it works fine and not showing this error message. Before I always run the visual studio 2020 in regular mode, I ve never run it in Admin mode when I develop my project. I m afraid if I develop my App in Admin Mode later when I build it into Application it will turn into a problem. My Project using dotnet-8.0 framework in WPF.
https://i.sstatic.net/DgLEHd4E.png”rel=“nofollow noreferer”> 每个XAML文件的信息
<><>Edit>>
即便在我担任署长的视力演播室时,这次也是同样的事情。 另外,对于更多的信息来说,这一错误在XAML的档案中显示,在Error的解决方案中,它说的是类似的东西。
severity Code Profile Project Rank Path 文件线源:《国家工具》:XamlC错误XFC0000:不能解决“申请”。 新的人力资源开发 页: 1
www.un.org/spanish/ecosoc 我为解决问题做了些什么,但还是赢得了t work。
- In Dev Command Prompt I do
dotnet restore
and then I try to remove the cachedotnet nuget locals all --clear
and then dodotnet restore
. - I already try to change the target framework to lower version and then change back to 8.0.
- I also tried to clean and rebuild solution, and the problem still persists.