Menu

Compiling DoxyComment

Help
2007-01-19
2013-04-24
  • Aaron C. Meadows

    Hi.  I'm new to C#, more of a C++ programmer.  I compiled my own Custom Provider, and got that working, but we were gettin "Inconsistant Line Endings" in VC2005 when we used DoxyComment (with and without Custom Provider).  I found where '\n' was being used to join strings in 3 places in the code, and changed those out for '\r\n', which I believe will clear that issue up.

    However, when I uninstalled DoxyComment and Installed my Custom Compiled version, I have no buttons, and I get an error in the Output window for DoxyComment that says "A Command with that name already exists.".

    As near as I can tell, it seems that the uninstall did not removed the buttons it defined, so the version I am installing can't create it's own buttons.  I have no idea how to fix that.  Any guidance someone could provide would be great!

    Thanks!

     
    • Troels Gram

      Troels Gram - 2007-01-19

      Hi there,

      The line ending bug is known: http://sourceforge.net/tracker/index.php?func=detail&aid=1499209&group_id=159018&atid=810156

      When you update the add-in code you have to reset the add-in registration. Follow these steps (make sure Visual Studio 2005 is closed):

      1: Open a VS2005 command prompt (Start -> All Programs -> Microsoft Visual Studio 2005 -> Visual Studio Tools -> Visual Studio 2005 Command Prompt).

      2: type: devenv.exe /ResetAddin DoxyComment.DoxyCommentAddIn

      3: Start up Visual Studio 2005 - the toolbar should be regenerated.

       
      • Aaron C. Meadows

        I'll give this a shot on monday.

        I read that bug report.  It was fairly easy to replace the '\n' with '\r\n' in the three places where they occured.  I assume pretty much anyone could make that change, therefore, there must be a reason why that change hasn't made it into the released version yet.  Any thoughts on that?

         
        • Troels Gram

          Troels Gram - 2007-01-22

          I haven't had much time to work on DoxyComment for a long time. .. And you are right the fix is very simple. ..

           

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.