Locked Refactor and Module?

  • venerdì 29 aprile 2005 12:34
     
     
    Started today my first experiences with VS2005 Beta2. I also installed the Refactor! AddIn and tried with the most simple project: A console application!


    Extracting a method was not possible. I think the reason behind it is that the wizard creates a Module, not a class. (With a Windows application all went ok. Great product by the way!)

Tutte le risposte

  • venerdì 29 aprile 2005 15:20
    Moderatore
     
     

    I'm having trouble reproducing this behavior.  I created a simple Console Application and added a few lines to Sub Main(), selected some of that code and was able to use the Extract Method smart tag to extract it into a method.

    If you could provide some additional detail or sample code we'd appreciate it.

    Thanks,
    Jay

  • martedì 3 maggio 2005 08:40
     
     Con risposta
    Strange, it now works. The only difference I see is the fact that the first, non-working, console application was created directly after installing a complete fresh VS2005 and Refactor!. I was so eager to see this product, that it was the first thing I have done with the Beta. With this bug appearing, I have drawn the wrong conclusion.

    Sorry I am now unable to reproduce the error. Thx for this great product!