asp.net mvc - Resource (RESX) files messed up -


I had a resource file named Localize.resx, which contains English strings. I copy it and the same folder (AP_ Paste inside the Global Resosphorus), VS made a copy, I changed the copy to localization sl.resx and localization localization as ANRex. Now everything in the codebahind file (Localize.en.designer.cs) has gone. Creating a new but completely empty designer file makes the removal of the designer file and selecting the custom tool running.

I still have all my strings that are resx but designer files (empty) have gone, so the application is not created.

Any suggestions?

It is within VS 2010 with ASP.NET MVC solutions.

What this resource says about files.

This does not specifically talk about the codebahind designer files prepared on the fly, but if you read the bold text carefully, then it is essentially saying that you are not specified without Language base file is required and given that it only makes sense that this file will include self-activated code.

" When you create resource files, you start by creating a base .resx file. For each language you want to support, create a new file named after the name, Include language or language and culture (name of culture). For a list of culture names, see Culture Info Class For example, you can create the following file:

• Web resource .resx

Support for Base File (default) A) Resource File.

• WebResources.es.resx

A resource file for Spanish.

• WebResources.es-Mx.

• WebResources.de.resx

A resource file for German.

P> I have not really seen anything like this before, But when I went to check out my old projects, I saw that all of them are original files and then languages ​​are specific, so I made it right to follow that conference and it works now.


Comments

Popular posts from this blog

c# - sqlDecimal to decimal clr stored procedure Unable to cast object of type 'System.Data.SqlTypes.SqlDecimal' to type 'System.IConvertible' -

Calling GetGUIThreadInfo from Outlook VBA -

Obfuscating Python code? -