本文介绍了错误“缺少装配参考”什么时候将平台改为x86的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个窗口应用程序(Visual Studio 2008 / C#),它在平台构建任何CPU时起作用,但是当我尝试由平台x86构建时出现错误:类型或命名空间名称'控件'不存在于命名空间'DevComponents.DotNetBar'(你错过了一个程序集参考吗?)



请帮助我,谢谢!



我尝试了什么:



我是通过平台构建的任何CPU,它已经消失了,但是当我尝试按平台构建时x86是错误,我重新转换平台任何CPU都没有错误。

解决方案

I have a window application (Visual Studio 2008/C#), It work fire when built by platform Any CPU, but when I try built by platform x86 was errors: "The type or namespace name 'Controls' does not exist in the namespace 'DevComponents.DotNetBar' (are you missing an assembly reference?)

Pls help me, thanks!

What I have tried:

I built it by platform Any CPU, it's gone, but when I try built by platform x86 was errors, I rechange platform Any CPU it was not error.

解决方案


这篇关于错误“缺少装配参考”什么时候将平台改为x86的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-27 10:58