Results 1 to 4 of 4

Thread: [RESOLVED] Compiling

  1. #1

    Thread Starter
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Resolved [RESOLVED] Compiling

    I'm new on .net from vb6, I downloaded the VB 2005 express edition, and while most of the code is pretty easy to grasp (the ide practically teaches you), I can't figure out how to compile my project. Everywhere I look says something about changing debug to release in the standard toolbar, but I don't see any such option on the standard toolbar. How do I just make a plain .exe? Thanks.

  2. #2
    Frenzied Member conipto's Avatar
    Join Date
    Jun 2005
    Location
    Chicago
    Posts
    1,175

    Re: Compiling

    The whole "change from debug to release mode" can be explained like this:

    Every time you run the program through the IDE, an EXE file is actually created automatically. It will typically exist in one of two places:

    ..\Project Folder\bin\Debug

    or

    ..\Project Folder\bin\Release

    If you are in debug mode, it will create a slightly larger EXE with some additional instructions inside it for use in debugging. If you are in release mode, it will put the exe in the release folder, without the extra instructions.

    Bill
    Hate Adobe Acrobat? My Codebank Sumbissions - Easy CodeDom Expression evaluator: (VB / C# ) -- C# Scrolling Text Display

    I Like to code when drunk. Don't say you weren't warned.

  3. #3
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Compiling

    That information about changing the configuration in the toolbar is for VS.NET 2002/2003. It may be the case for full VS 2005 although I haven't used it so I'm not sure. With the 2005 Express editions it is not. Whenever you press the Start button to run the debugger the IDE will build a Debug executable and, by default, place it in bin\Debug. To build a Release executable you use the Build menu. The output will be placed in the bin\Release folder by default.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  4. #4

    Thread Starter
    Fanatic Member Nove's Avatar
    Join Date
    Jul 2004
    Posts
    736

    Re: Compiling

    Ok thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width