Duplicate names with resx files

  • Thread starter Thread starter pc3957
  • Start date Start date
P

pc3957

Hi everyone,

I've got a bit of a strange problem and I can't figure out how to fix
it. I've got an ASP.net 2.0 site with a homepage in /Default.aspx
and
a members homepage in /members/Default.aspx. I created a local
resource file in /App_LocalResources/Default.aspx.resx and it works
great for my site homepage. I would like to do the same for my
members page and I tried putting a /App_LocalResources/members/
Default.aspx.resx file and I keep getting a Default.aspx.resx name
already in use error when I try to view the site. Does anyone know
what I'm doing wrong?


Thanks.
 
pc3957,

You need to add an App_LocalResources folder in your members directory, and
add the second resx file there.

Hope this helps,


Steve
 
Back
Top