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!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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!
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.
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?
I haven't had much time to work on DoxyComment for a long time. .. And you are right the fix is very simple. ..