|> Start ... F5, can VB .NET skip Compiling a project to .EXE

In Visual Basic 6.0, when you run your program for debugging, it was very fast when it comes to running the application and displaying the output, it didn't have to compile everything to an .EXE or something..., and also you can debug as well, while the program is still running.

Are this following features still available in Visual Basic .NET
1.) Run the program, without compiling the project
2.) edit the code while, the program is still running

Any help would be appreciated.

Thanks




Answer this question

|> Start ... F5, can VB .NET skip Compiling a project to .EXE

  • MichaelDraisey

    My Compliments on Question 1:
    1.) Thank's, i just if it was possible

    My Comments on Question 2:
    2.) I've already changing the options on the Tools>Options>Debugging>Edit and Continue
    its still not the same as VB6.0, you will really have to restart the program.  Am i right

  • Frasse

    Hi,

    In your first question, No, not possible in .net, the project must be compiled. But you could choose between two modes, Debug or Release. Debug is faster to compile (for debugging) than Release (for deployment)...

    In your second, yes, edit and continue is now supported in VB.Net although you cannot edit a code while a program is running except when a breakpoint or an error is encountered...

     

    cheers,

    Paul June A. Domag



  • jadamo

    Hi,

    In a way, your right. This routine tries to mimic the VB6 behavior. But if you do an illegal edit during in break mode, then the debugger would restart the execution at the beginning...

    Here's alink that discusses that, http://msdn2.microsoft.com/library/ba77s56w(en-us,vs.80).aspx

     

    cheers,

    Paul June A. Domag



  • PhaedoHD

    Question 2:
    If you are using Visual Studio.Net 2003 you are right, you will have to restart the program.
    If you are already using Visual Studio.Net 2005 instead you will be allowed to Edit And Continue (see previous post for link)

    Luca
    VB Test team


  • |> Start ... F5, can VB .NET skip Compiling a project to .EXE