.NET
Microsoft Technologies based on the .NET software framework.
3,647 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hi, I have a Blazor Server Project in which I want to add a feature to Edit resource files after publishing. Exactly after publishing, there would be a publish folder in the bin directory of the project. I need to edit the string in the resources file contains in the bin directory.
this is not really practical. the easiest approach is to move the resource file to its own dll. then after publish you can regenerate it with the c# compiler api. a recycle would be required to read it.
you are better of replacing the resource files with a database, or structured file.