Category / Section
How to generate designer.cs from resource file in Visual Studio for Mac Blazor?
2 mins read
To generate a designer.cs file from a resource (.resx) file in Visual Studio for Mac, follow these steps:
- Right-click the .resx file and select "Properties".
- In the Properties window, locate the "Custom Tool" property.
- Enter the value "PublicResXFileCodeGenerator" in the "Custom Tool" property.
- After you do this, the designer file will be generated automatically.
For reference, see the images below: