Questions tagged «initializecomponent»

30
名称“ InitializeComponent”在当前上下文中不存在
如果我在Visual Studio 2010 SP1中创建一个新项目并选择“ WPF应用程序”并尝试生成生成的应用程序,则会收到错误消息 名称“ InitializeComponent”在当前上下文中不存在。 今天早晨,当我尝试构建当前项目时,我遇到了类似的错误。昨天,我编译并运行它没有问题。 我创建了一个新项目,并且每次编译项目时都会收到错误消息。我刚刚将项目发送给了一位同事,他的编译没有任何错误。 怎么了?
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.