We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Platform : WPF
|
Category : Comments

How can I specify in the .proj file whether to leave the free-form localization comments in the assembly or strip them out ?

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 :

Note :
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.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.