The author, it will be great if you formulate thoughts more clearly and describe the context of the task. I can only guess that we are talking about CodeDom. In this case, an example with MSDN to help you.
if (Directory.Exists("Resources")) { if (provider.Supports(GeneratorSupport.Resources)) { // Set the embedded resource file of the assembly. // This is useful for culture-neutral resources, // or default (fallback) resources. cp.EmbeddedResources.Add("Resources\\Default.resources"); // Set the linked resource reference files of the assembly. // These resources are included in separate assembly files, // typically localized for a specific language and culture. cp.LinkedResources.Add("Resources\\nb-no.resources"); } }
By the way, the civilized world is slowly moving away from CodeDom towards Roslyn. If you do not have a ton of the hereditary code, you should keep up with the times.
Сделал билдер на C#.What, sorry, did? What are you calling a builder? - Bulson