Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VS 2013 Document to store old code
Message
De
01/04/2015 10:06:21
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Visual Studio
Versions des environnements
Environment:
C# 4.0
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01617605
Message ID:
01617610
Vues:
30
>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
Fil
Voir

Click here to load this message in the networking platform