dotnet / dotnet/docs

resgen.exe option to give custom directory for resolving relative paths in .resx file

Open
#35,334 0 comments 0 reactions 0 assignees View on GitHub
:watch: Not Triaged dotnet-framework/svc
Dominant language
No language data
Stars
4.8k
Forks
6.1k
Avg merge
15h 21m
Merged PRs (30d)
370

Description

While resolving relative paths in resx file to resources conversion, I need to resolve the paths relative to a custom directory path since my build process will place resources in different directories for different build configurations.

I only see two options in resgen.exe, one is to resolve the paths relative to current directory and second to resolve against source directory. Am I missing something in the documentation or such a thing is not supported in resgen.exe tool.

If not, can we please add it.

---
#### Document Details

⚠ *Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.*

* ID: ca615e09-87ba-5a58-0abd-4aa805dbde2f
* Version Independent ID: f3091c7b-7e0c-d209-e8d4-426672423ed1
* Content: [Resgen.exe (Resource File Generator) - .NET Framework](https://learn.microsoft.com/en-us/dotnet/framework/tools/resgen-exe-resource-file-generator)
* Content Source: [docs/framework/tools/resgen-exe-resource-file-generator.md](https://github.com/dotnet/docs/blob/main/docs/framework/tools/resgen-exe-resource-file-generator.md)
* Product: **dotnet-framework**
* GitHub Login: @gewarren
* Microsoft Alias: **gewarren**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.