Missing control properties

  • Thread starter Thread starter steve bull
  • Start date Start date
S

steve bull

I have created a control with a property BoxStyle, an enum, which is in a dll Graphics2D.dll. Normally when the editor
picks everything up it will give me context help eg. NewControls.ColorComboBox.BoxStyle.fullBox prompting at each step.

When I remove the reference to the dll and add it again the editor will do the prompt as I would expect. As soon as I
rebuild the editor no longer recognizes the BoxStyle property and only gives me the default properties for ListBox.

Can anyone explain what MS does? It is really annoying.

When I load the main project I get the compilation error 'BoxStyle is either undeclared or never assigned'. If I build
the code it runs fine. But, I really do not understand what Visual Studio's problem is.


Any ideas would be very welcome.


Thanks,

Steve
 
steve bull said:
Can anyone explain what MS does? It is really annoying.

There is a bug in VS.NET where occasionally it cannot copy the .xml file
because it is locked. The bug is that VS.NET has locked the file and will
not release it. If you build eventually you may see a message in the output
saying that a file cannot be copied. This is the file you need for
Intellisense. The only way I have found to get rid of it is to close VS.NET
and reopen.

-- Alan
 
I have tried closing VS.Net and I have even restarted the machine but I still get the problem. I have also deleted the
dll as well so it needs to copy the new version from the latest build. The toolkit generates the correct code. Pity it
can't execute what it generates.


Steve
 
Back
Top