Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 300593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:55:42+00:00 2026-05-12T06:55:42+00:00

I recently upgraded my projects from VS2005 to VS2008. I use a .resx file

  • 0

I recently upgraded my projects from VS2005 to VS2008. I use a .resx file to store strings and it worked fine with VS2005.

Now, with VS2008, I added a new string to Strings.resx file and used it in my code (C#). But I got a compilation error that my new string doesn’t exist in Strings.
I asked my colleague to check it on his machine and he got the same problem.
I found out that VS2008 add the new string to the .resx file but not to the .Designer.cs file.

Is it a known issue? Is there any way to fix it? (besides adding the code manually to .Designer.cs)

Thanks in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:55:42+00:00Added an answer on May 12, 2026 at 6:55 am

    Turns out that the problem occurred because my .resx and .Designer.cs files was read-only after I checked them out from StarTeam.

    In VS2005 I was asked if I want to make both files writable and when I answered yes the .Designer.cs file was also modified, so I could access the new member from my code. But in VS2008, it doesn’t ask if I want to make the .Designer.cs file writable, so it stays read-only and VS can’t modify it, so I can’t access the new member.

    To summarize:
    You should always make both .resx file and .Designer.cs file writable before changing the .resx file to make it work correctly with VS2008.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I recently upgraded a number of projects from VS2008 to VS2010. Now I'm having
We just recently upgraded from VS2008 to VS2010. Our project compiles fine; but when
I recently upgraded a VS2005 web deployment project to VS2008 - and now I
I recently upgraded from jQuery 1.2.6 to 1.3.2 Now on the page I'm using
I've recently upgraded from Grails 1.1 to Grails 1.1.1. I've updated my projects accordingly
I have recently upgraded from Flex SDK 3.3 to SDK 3.4. Now I suddenly
my company has recently upgraded from VS2005 to VS2010. We have a huge project
I just recently upgraded from VS2008 to VS2010. Because I do a lot of
I used TortoiseSvn for source control in my flash projects. I recently upgraded from
I've recently upgraded a project from MVC 1 to MVC 3 and now I'm

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.