During the build process, you can specify in the .proj file whether to leave the free-form localization comments in the assembly, strip-out part of the comments or strip-out all the comments. The stripped-out comments are placed in a separate file.
You specify your option using a ‘LocalizationDirectivesToLocFile’ tag as follows :
The values that can be assigned are:
1. None – Both comments and attributes stay inside the assembly and no separate file is generated.
2. CommentsOnly – Strips only the comments from the assembly and places them in the separate LocFile.
3. All – Strips both the comments and the attributes from the assembly and places them both in a separate LocFile.