且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

设计器错误“无法找到类型...”

更新时间:2022-11-05 14:47:57

" Daniel Billingsley" ; <沓*************** @ newsgroup.nospam> aécritdansle

message de news: eP **** *********@TK2MSFTNGP15.phx.gbl ...


|我有一个项目,我已经工作了几个星期。我一直在使用

| BindingSource控件 - 我在这个特定的表单上有四个。

|

|今天早上我去看了设计师的报告,得到了:

|

|找不到类型''LandarcBL.Budget''。请确保

|引用包含此类型的程序集。如果这种类型是

|的一部分你的开发项目,确保项目已成功

|建成。

|隐藏编辑


我也想知道答案。


使用VS2005


我已经声明了一个类型:Carter.Framework.Test.CustomerList。我将CustomerListBindingSource的

DataSource属性设置为此值。和你一样,

我只是在一天左右回到表格并得到这个错误。改变

将DataSource改为CustomerList似乎让它工作 - 有时候:-(


似乎没有导致这种情况的一致性,但我会肯定

喜欢修理它。


乔安娜


-

乔安娜Carter [TeamB]

顾问软件工程师
"Daniel Billingsley" <Da***************@newsgroup.nospam> a écrit dans le
message de news: eP*************@TK2MSFTNGP15.phx.gbl...

| I''ve got a project I''ve been working on for a few weeks. I''ve been using
| the BindingSource control - I''ve got four of them on this particular form.
|
| This morning I went to view the report in the designer and got:
|
| Could not find type ''LandarcBL.Budget''. Please make sure that the
| assembly that contains this type is referenced. If this type is a part of
| your development project, make sure that the project has been successfully
| built.
| Hide Edit

I would like to know the answer to this as well.

Using VS2005

I have declared a type : Carter.Framework.Test.CustomerList. I set the
DataSource property of a CustomerListBindingSource to this value. Like you,
I just come back to the form a day or so later and get this error. Changing
the DataSource to just CustomerList seems to make it work - sometimes :-(

There seems to be no consistency to what causes this, but I would definitely
like to fix it.

Joanna

--
Joanna Carter [TeamB]
Consultant Software Engineer


你好Daniel Daniel,


什么是版本您使用的VS.NET,2003或2005?通常,

这样的问题可以通过重建整个解决方案来解决。


Luke >
Hello Daniel,

What is the version of the VS.NET you work with, 2003 or 2005? Normally,
such a problem can be resolved by rebuilding the whole solution.

Luke


这是VS2005(C#)。我已关闭并重新打开VS几次,选择

Build / Clean从菜单中建立/重建解决方案好几次......全部都没有

可用。


" [MSFT]" lu *** ***@online.microsoft.com>在留言中写道

新闻:pv ************** @ TK2MSFTNGXA02.phx.gbl ...
It''s VS2005 (C#). I''ve closed and re-opened VS several times, selected
Build/Clean Build/Rebuild Solution from the menu several times... all to no
avail.

"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:pv**************@TK2MSFTNGXA02.phx.gbl...
你好丹尼尔,
您使用的VS.NET版本是2003年还是2005年?通常情况下,这个问题可以通过重建整个解决方案来解决。

Luke
Hello Daniel,

What is the version of the VS.NET you work with, 2003 or 2005? Normally,
such a problem can be resolved by rebuilding the whole solution.

Luke