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

  • SEARCH
  • Home
  • 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 8972665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T18:16:12+00:00 2026-06-15T18:16:12+00:00

Hi I have a solution which I just migrated from .Net 3.5/MVC1/VS2008 to .Net

  • 0

Hi I have a solution which I just migrated from .Net 3.5/MVC1/VS2008 to .Net 4.5/MVC4/VS2012

Most of the things work well but I have a string resource file problem

My solution has 3 projects one of which is the core and the other ones are dependent on the core.

In each of the projects I have a strings file named in the following pattern:

Core Project – file name is
Strings.resx

Dependency1 project – file name is
Dependency1Strings.resx

Dependency2 project – file name is
Dependency2Strings.resx

Each of those files have strings pertaining to the particular project.

When the solution loads I create one ResourceManager for each project using the following code(example uses Dependency2):

ResourceManager manager = new ResourceManager("Dependency2.Dependency2Strings", typeof(Dependency2Strings).Assembly);

Later when I try to call manager.GetString(messageName,ClientCulture)

I get a FileNotFoundException stating that the file Dependency2.resources.dll can not be located.

The strange thing is that the PublicToken that it lists for the Dependency2.resources.dll is the same as the PublicKey for the Dependency2.dll.

My question is does anyone know why and where the Dependency2.resources.dll should be generated(maybe it’s a new setting). In previous versions of .Net this code worked with no problem.

This only happens for the Dependency projects, not for the Core one. It almost looks like .Net is confusing this project structure with a Satelite Assembly structure.

  • 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-06-15T18:16:13+00:00Added an answer on June 15, 2026 at 6:16 pm

    So after a lot of try and error I came a round with a compromise solution.

    I placed all the resource strings into the same resx file and then had all 3 resourcemanagers reference the same file.

    This worked!

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

Sidebar

Related Questions

I have a large solution which contains a mixture of C# and VB.Net projects.
I have a Solution which contains an ASP.NET Web Application project. Web Application project
i have as asp.net-mvc website and we are migrated a popup from using PartialView()
We have a website which we recently migrated to ASP.NET MVC. All of the
We have a large solution comprising of many different libraries. We have just migrated
I have a solution which contains six projects. Four of the projects are class
I have a solution which has multiple output projects (a website, and admin tool,
I have a solution which has many projects inside it. I build the solution
I have a VS2005 solution which contains a variety of projects (C++ DLLs, C++
I have an ntier solution which has a Domain project for my POCO classes.

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.