Re: Please please please fix the IDE

From: Charles Law (blank_at_nowhere.com)
Date: 02/25/04


Date: Wed, 25 Feb 2004 16:11:48 -0000

Lloyd

I may be wrong, but I think that the OPTION STRICT setting in the IDE
options dialog is not designed to cause the clause to be created in new
classes. Rather, it is a default to apply in the absence of an explicit
declaration at the top of the file.

That said, I know what you mean about the IDE. For the most part it works
fine, but I also frequently get erroneous errors reported, which disappear
on a repeat build or closing and restarting the IDE.

One thing I would say is that I have found some of the apparently erroneous
errors reported to be caused by complicated linkage in multi-project
solutions. If coupling is high, the IDE gets 'confused' about from where to
satisfy references. This is made worse if names are re-used in different
projects. Even if the declarations are the same they will have different
signatures, and therefore may lead to confusion. I have stared at an
unexplained error for hours, convinced that it is not an error, only to
realise later that I had used the same control name or namespace in two
projects, and that the compiler was getting its reference from one place
whilst I was expecting it to get it from another. Qualifying the reference
sorted the problem (although changing the name was ultimately the best
solution).

If you have a multi-project solution, you could look carefully at the
Reference Paths set up in each project, and ensure they are consistent with
the project inter-dependencies set up in he solution explorer.

I am not suggesting that this will completely cure your problems, but I
found that the incidence of erroneous errors falls off when coupling is low
and inter-dependencies are minimised.

HTH

Charles

"Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in message
news:kc3%b.3127$Yf.2213@twister01.bloor.is.net.cable.rogers.com...
> Yes but there are MS lurkers. Perhaps they will get the message to fix
the
> IDE before they release another one with so many problems.
>
> Even things like setting OPTION STRICT ON does not work. Create a new VB
> class and the OPTION clause is not generated.
>
> Lloyd Sheen
>
> "Michael S" <a@b.c> wrote in message
> news:%23Gqwcp6%23DHA.1796@TK2MSFTNGP12.phx.gbl...
> > "Lloyd Sheen" <sqlguyremoveallofthis@tostopspamhotmail.com> wrote in
> message
> > news:0tN_b.56162$RTW1.12020@news01.bloor.is.net.cable.rogers.com...
> > > So MS where is the error that is reported on last line
> >
> > Please, LLoyd. This is a developer-community, not Microsoft support.
> >
> >
> >
>
>



Relevant Pages

  • Re: Catching System.OverflowExceptions
    ... Andrea Garcia ... Set option Strict to on in your IDE options or set it in top of every file. ... therefore any sum over 32767 causes an overflow exception.) ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Comment Outline Blocks
    ... my module (even before the 'Option Strict On'). ... Does anyone know of a workaround, ... This isn't that suprising since you can't have regions ... The VB.NET IDE ...
    (microsoft.public.vsnet.ide)
  • Re: Is linq the final straw for VB?
    ... the progress of someone who uses the vb ide on a regulare basis. ... and I tend to notice the poor quality of the vb editor because we happen ... to use and found that it slowed my progress every minute of every day. ... Even with option strict on VB isn't as strict. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Trouble Creating a Point Object
    ... > Dim pt as new System.Drawing.Point ... First, turn 'Option Strict On'. ... This will cause the IDE to detect the ... mistake you made. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: database project
    ... There are two different DB reference in VS 2005 IDE. ... each connection is encrypted and stored on local for each ... The .dbp file is the Database Project file. ...
    (microsoft.public.vsnet.ide)

Loading