Last post May 31, 2012 10:48 AM by patricgreat
May 04, 2010 03:57 AM|yogaraj.p|LINK
I have App_GlobalResources in my website.
inside i have sub folders and each sub folders there are multiple resource files (.resx) are there.
for each resource file have 2 different files like .resx and .Designer.cs file. Now the problem is when i editing any of the resource (.resx) file and attempting to save the new .Designer.cs file is creating automatically.
for example if i have country.resx & country.Designer.cs file. when i edit and save this then the new file country1.Designer.cs file is creating automatically...
what is the problem. how to avoid this..
May 06, 2010 10:23 AM|XiaoCheng Fan - MSFT|LINK
I 've tried but cannot represent your issue.
I did follows:
1.Run VWD 2008.
2.Create a new ASP.NET web project.
3.Add a new ASP folder -> add App_GlobalResources.
4.Add a new item -> resource -> rename it to Country(Now there is Country.resx & Country.designer.cs)
5.Add a new item -> resource -> rename it to Resource(Now there is Resource.resx & Resource.designer.cs)
6.Change string1 in Country.resx to aaa values bbb, then save.
Can you tell me more details about your issue.
By the way, is your country.designer.cs reachable?
I'm looking forward for your reply.
Feb 13, 2012 12:45 PM|patricgreat|LINK
Can you please tell me how you solved the issue? i am also facing the same issue....
Feb 24, 2012 07:11 PM|patricgreat|LINK
the problem was in .csproj file, in .csporj file the entry with lastgenerated output file for my resource file was resource2.designer.cs.. i chaned it to resource.designer.cs and its working..
May 14, 2012 07:32 PM|oakmario|LINK
Your reply is the answer as it was exactly what I needed. I had been struggling to figure out this nagging problem for a while but left it alone until I searched again today and saw your post.
I wanted to mark your answer as the reply but I couldn't do anything against this thread. The post from the Microsoft moderator was marked as the answer but it doesn't help. I couldn't un-mark it as the answer either.
How do we un-mark something as an answer and mark yours?
May 31, 2012 10:48 AM|patricgreat|LINK
Actually only owner(who initiated the thread or moderator) can do it.... Its glad that it helped you...