Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. VC#2005 will have edit & continue

VC#2005 will have edit & continue

Scheduled Pinned Locked Moved The Lounge
csharpcomtools
24 Posts 15 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Alvaro Mendez

    Oh man, can't wait for that! Now it's: 1. Modify code-behind file(s) of ASP.NET project. 2. Build. 3. Run in Debugger (F5) 4. Wait 83 seconds! (I just timed it.) 5. Repeat. The startup time is insane, and I have a fast box too: P4 2.8Ghz, 1.5GB RAM. Regards, Alvaro


    Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. - George W. Bush

    D Offline
    D Offline
    Daniel Turini
    wrote on last edited by
    #15

    Alvaro Mendez wrote: 4. Wait 83 seconds! (I just timed it.) Let me save you some time. First, stop IIS (iisreset /stop) Go to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. Now, delete every entry under the name of your virtual directory (those pesky random-named '3af003a7' directories). If you don't feel like deleting things, just move them to another directory. They're just temporary, anyways. start IIS again. (iisreset /start) Now, it'll take only a few seconds (3~5) to start your ASP.NET solution. I have a batch file scheduled to run this at midnight. Yes, even I am blogging now!

    A J 2 Replies Last reply
    0
    • J Judah Gabriel Himango

      Hopefully not a repost, just saw that friday some MSDN blogs reported that Visual C# 2005 will have edit and continue. Wooo! This will certainly be a big productivity enhancer IMO. Any remotely useful information on

      C Offline
      C Offline
      Charlie Williams
      wrote on last edited by
      #16

      I think E&C is great. Sure, it won't help solve any application design issues, but having to rebuild the entire app because my chubby fingers typed something like "InsertVendot" instead of "InsertVendor" gets old quickly. I just don't understand the folks who claim E&C is useless. I don't require something to be useful in every situation before I put it in my tool box. Anything that saves me some time while debugging is a welcome addition. Charlie if(!curlies){ return; }

      1 Reply Last reply
      0
      • M Marc Clifton

        Judah Himango wrote: Visual C# 2005 will have edit and continue. Woohoo. I never found it very useful in C++, and I doubt I'll find it useful with C#. Maybe 1 time out of a 100, while in the debugger, I'll say "gee, I wish I could change that line". And when I used it in C++, it had some wierd side-effects, causing me to think perfectly good code was broken. Marc MyXaml Advanced Unit Testing

        T Offline
        T Offline
        Tom Archer
        wrote on last edited by
        #17

        LOL. I thought I was the only one that thought that way! I never use it in C++ either. Cheers, Tom Archer "Use what talents you possess. The woods would be very silent if no birds sang there except those that sang best." - William Blake * Inside C# -Second Edition * Visual C++.NET Bible * Extending MFC Applications with the .NET Framework

        1 Reply Last reply
        0
        • D Daniel Turini

          Alvaro Mendez wrote: 4. Wait 83 seconds! (I just timed it.) Let me save you some time. First, stop IIS (iisreset /stop) Go to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. Now, delete every entry under the name of your virtual directory (those pesky random-named '3af003a7' directories). If you don't feel like deleting things, just move them to another directory. They're just temporary, anyways. start IIS again. (iisreset /start) Now, it'll take only a few seconds (3~5) to start your ASP.NET solution. I have a batch file scheduled to run this at midnight. Yes, even I am blogging now!

          A Offline
          A Offline
          Alvaro Mendez
          wrote on last edited by
          #18

          Wow, thanks for the great tip! I'll try it tomorrow. Can you point me to a link that explains this behavior (temporary files and why they affect startup time)? Thanks again, Alvaro


          Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. - George W. Bush

          D 1 Reply Last reply
          0
          • M Marc Clifton

            Judah Himango wrote: Visual C# 2005 will have edit and continue. Woohoo. I never found it very useful in C++, and I doubt I'll find it useful with C#. Maybe 1 time out of a 100, while in the debugger, I'll say "gee, I wish I could change that line". And when I used it in C++, it had some wierd side-effects, causing me to think perfectly good code was broken. Marc MyXaml Advanced Unit Testing

            S Offline
            S Offline
            Stuart Dootson
            wrote on last edited by
            #19

            It worked a lot better in VB - not that I'm trying to compare C# and VB ;P Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

            M 1 Reply Last reply
            0
            • A Alvaro Mendez

              Wow, thanks for the great tip! I'll try it tomorrow. Can you point me to a link that explains this behavior (temporary files and why they affect startup time)? Thanks again, Alvaro


              Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. - George W. Bush

              D Offline
              D Offline
              Daniel Turini
              wrote on last edited by
              #20

              Alvaro Mendez wrote: Can you point me to a link that explains this behavior (temporary files and why they affect startup time)? Sorry, I can't. Someone at the Lounge explained me this a while ago and didn't provide it also. I think it's more of a VS.NET bug. I have a friend using VS.NET 2005 and it doesn't seem to have this bug. Please, let me know if it worked. Yes, even I am blogging now!

              A 1 Reply Last reply
              0
              • S Stuart Dootson

                It worked a lot better in VB - not that I'm trying to compare C# and VB ;P Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

                M Offline
                M Offline
                Marc Clifton
                wrote on last edited by
                #21

                Stuart Dootson wrote: It worked a lot better in VB Yes, but I don't work better in VB. :-D Marc MyXaml Advanced Unit Testing

                S 1 Reply Last reply
                0
                • M Marc Clifton

                  Stuart Dootson wrote: It worked a lot better in VB Yes, but I don't work better in VB. :-D Marc MyXaml Advanced Unit Testing

                  S Offline
                  S Offline
                  Stuart Dootson
                  wrote on last edited by
                  #22

                  Same here - my only real experience of VB (and Edit 'n' Continue!) is VBA in Excel spreadsheets - the classic 'little application that grew and grew'....It could do with being refactored but I can only take VB for an hour at a time, so that isn't going to happen!!! Stuart Dootson 'Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p'

                  1 Reply Last reply
                  0
                  • D Daniel Turini

                    Alvaro Mendez wrote: Can you point me to a link that explains this behavior (temporary files and why they affect startup time)? Sorry, I can't. Someone at the Lounge explained me this a while ago and didn't provide it also. I think it's more of a VS.NET bug. I have a friend using VS.NET 2005 and it doesn't seem to have this bug. Please, let me know if it worked. Yes, even I am blogging now!

                    A Offline
                    A Offline
                    Alvaro Mendez
                    wrote on last edited by
                    #23

                    It didn't work. It's still taking 83 seconds. Temporary files don't seem to be the problem. :-( Regards, Alvaro


                    Our enemies are innovative and resourceful, and so are we. They never stop thinking about new ways to harm our country and our people, and neither do we. - George W. Bush

                    1 Reply Last reply
                    0
                    • D Daniel Turini

                      Alvaro Mendez wrote: 4. Wait 83 seconds! (I just timed it.) Let me save you some time. First, stop IIS (iisreset /stop) Go to C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files. Now, delete every entry under the name of your virtual directory (those pesky random-named '3af003a7' directories). If you don't feel like deleting things, just move them to another directory. They're just temporary, anyways. start IIS again. (iisreset /start) Now, it'll take only a few seconds (3~5) to start your ASP.NET solution. I have a batch file scheduled to run this at midnight. Yes, even I am blogging now!

                      J Offline
                      J Offline
                      jspano
                      wrote on last edited by
                      #24

                      I have been having this problem on 1 machine also. I have several others that work fine. Don't know what it is, but I'll try your tip tonight. Hope it works. Thanks for that! If it does work, I'll try to figure out why I get the temp files on 1 machine and not others and post back.

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • World
                      • Users
                      • Groups