Posted on: 9/12/2014 8:45:56 AM | Views : 404

Hello,
i am trying to add resource file dynamically and using bellow code it's working fine but once it's create i have to manually add that using
right-click->include in project can you please tell me how to achieve this thing dynamically (with out right-click->include in project)

using (ResXResourceWriter resx = new ResXResourceWriter(path)) { resx.AddResource("valFirstname", "Prénom Must requis"); resx.AddResource("valLastname", "Nom Must requis"); resx.AddResource("valPassword", "Mot de passe doit requise"); resx.AddResource("valUsername", "Nom d'utilisateur Doit requis"); resx.Generate(); resx.Close(); }
Please ans me i am stuck in this

Go to the complete details ...