the name <…> does not exist in the namespace clr-namespace <…>

前端 未结 25 1197
名媛妹妹
名媛妹妹 2020-11-28 04:59

I have a small WPF application which used to compile just fine but is not anymore. I can\'t really say at which point it stopped building. It just worked fine one day, and t

25条回答
  •  情书的邮戳
    2020-11-28 05:42

    This is what worked for me on Visual Studio 2012 (Update 3).

    • Restart Visual Studio
    • Add current assembly to namespace declaration xmlns:framework="clr-namespace:TimeRecorder.Framework;assembly=MyAssembly
    • Build -> Build Solution

提交回复
热议问题