Last post Apr 26, 2005 08:22 PM by taniam
Apr 21, 2005 03:29 PM|sajid/mughal|LINK
Apr 22, 2005 03:31 PM|ScAndal|LINK
Very interesting...I've never heard this needed before.
I'm curious to find out if someone has an answer to this. I can see in certain situations where I would want to do this.
Apr 26, 2005 11:50 AM|gpSRT|LINK
I'm not an expert by any means, but I'm unaware of any built-in functionality of VS.NET to remove all comments. I would imagine a relatively simple way would be to code a Windows application to go through check for comments, verify they are in fact comments
and not code, and remove them saving the files to a new location.
Hope this was of some help. Good luck on your project. Perhaps a more seasoned developer can chime in.
Apr 26, 2005 08:22 PM|taniam|LINK
On the Find and Replace dialog, there is the option to use either Wildcards or Regular Expressions. You might be able to come up with a pattern that will find all your comments, and if you leave the Replace field empty, all matches will be deleted. As
gpSRT mentions, the tricky part is not removing any code.
Hope this helps!