Articles in this section
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:
Properties.png DesignerFile.png


Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please  to leave a comment
Access denied
Access denied