After changing namespace in UserControl files, …g.cs files get errors

前端 未结 6 1239
陌清茗
陌清茗 2021-02-18 18:54

I copied three classes in from another WPF project and then changed their namespaces.

Now when I run the project, I get errors in the \".g.cs\"

6条回答
  •  我在风中等你
    2021-02-18 19:18

    I had this issue and tried deleting the obj and bin folders, but that would not work. It finally compiled when I selected Project > Clean and then Project > Build. There must be some Visual Studio cache somewhere else on my system.

提交回复
热议问题