I'm working on an ASP.NET MVC project for months. It is a system available in English and Portuguese, with English being the default language. I do this through the use of Resources, and it worked fine, see image below.
However,nowwhentryingtoaddanewStringinTranslation.resx,compilinggivesclassambiguityerrors.
Thenamespace'VolunteerGames.Web.Translations'alreadycontainsa definitionfor'Translation'
and
Ambiguitybetween 'VolunteerGames.Web.Translations.Translation.ResourceManager'and 'VolunteerGames.Web.Translations.Translation.ResourceManager'
Inoticedthatafterinsertingthisnewstring,visualstudiocreatedanotherfilecalledTranslation1.Designer.cs.ThisfilealsohasaclasscalledTranslation.
So if I delete this new created file, I can compile it, but the new string-resource I created is not found when I try to use it in the controller.
Any idea of what might have happened or is happening that is creating this Translation1.Designer.cs file giving ambiguity?