T
T
Timofey2022-04-12 13:37:05
ASP.NET
Timofey, 2022-04-12 13:37:05

How to configure localization, ResourceManager returns an error?

How to set up correctly

var resource = new ResourceManager("Resource", Assembly.GetExecutingAssembly());

The folder in the project is named correctly. In the resource folder, the project hierarchy with resources. I can not get the data and an error pops up although the file exists 625556264320a608207198.png.-qHSmWrjjeo.jpg?size=649x164&quality=96&sign=f625e4001234b5998eedc5a2c9f00d4a&type=album

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
Timofey, 2022-04-12
@timofeygusevopal

Found the problem. The path must be fully qualified to the resource file.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question