mfractor / mfractor-feedback

Found a bug or have a feature request for MFractor? Submit it here!
3 stars 0 forks source link

[Bug] Localizing a string in a .cs file generates incorrectly #305

Closed sthewissen closed 3 years ago

sthewissen commented 3 years ago

Using the option Replace with resx resource lookup from code-behind (C#) generates the following line of code after putting in a key (_tabsstatistics):

 statsPage.Title = $(MSBuildProjectName.Replace(" ", "_")).Resources.Resources.tabs_statistics;
matthewrdev commented 3 years ago

@sthewissen The project default namespace lookup behaviour changed in Visual Studio 8.8. I've resolved this issue and it will be in MFractor 4.4.1, released later today (AEST time).