Live Chat Icon For mobile
Live Chat Icon

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

Platform: WPF| Category: Comments

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 :

[XAML]

<LocalizationDirectivesToLocFile>value</LocalizationDirectivesToLocFile>

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.

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.