Getting “type or namespace name could not be found” but everything seems ok?

后端 未结 30 1777
北海茫月
北海茫月 2020-11-22 09:27

I\'m getting a:

type or namespace name could not be found

error for a C# WPF app in VS2010. This area of code was compiling fine

30条回答
  •  面向向阳花
    2020-11-22 09:43

    A trickier situation I ran into was: Project one targets the 4.0 full framework with Microsoft.Bcl.Async package installed. Project two target the 4.0 full framework but would not compile when reference a Project one class.

    Once I installed the Async NuGet package on the second project it compiled fine.

提交回复
热议问题