Excluding BAML resources from source files during parsing

Is there a possibility to exclude BAML resources from source files during parsing?

As one of our developers has told me there are two ways to localize WPF dlls, BAML on the one hand and resx files on the other hand. Our developers use resx files for the localization of our dlls. Having the BAML resources in the source file (and thus also in the translated target files) leads to problems in our software. Hiding all BAML resources or making them 'read-only' doesn't solve the problem, we need the target ressource.dll without the BAML content.
I hope I was able to explain my needs, I am not a developer, only the one who is responsible for localization.Thanks for your help
Andreas

Parents Reply Children