Versions des environnements
Network:
Windows 2008 Server
>Hi,
>
>In my ASPX and CS files I have a lot of commented C# or HTML code or JS scripts, etc. I want to clean up these files, remove the commented code. And I want all of the commented code to be in one document/file where I can put some Tags and Names so that I can find them, if necessary. What type of file can I create in VS 2013 where I can store all these code, without changing much the format. And, of course, the compiler and the builder should ignore this file.
>What do you suggest?
>TIA
You could keep them in the same type of file (ie. .cs, .js etc) so they can be viewed using the relevant editor. Just mark them 'Exclude from Project' (right-click sub-menu) and set 'Build Action' to none in properties. I usually add a 'Docs' folder to the solution or project for these items)
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement