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 3998576
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:32:34+00:00 2026-05-20T07:32:34+00:00

I would like two how to do to share Resources files between 2 (or

  • 0

I would like two how to do to share Resources files between 2 (or more) projects?

So, to resume, I’ve three project :

the development project (CF.NET) that include the resource file (with all definition).

I’ve two other projects that are empty BUT linking to the development projects, it’s just a different build each time, so when I modify the development project, all three projects are updated too. (Modification of the csproj file.)

Question is, what about Resources files? When I try to access from the development project I get all resources but when I try from the 2 others, it throws an “MissingManifestResourceException”.

Any idea how to solve this issue?

Thanks.


[EDIT]

Here is what I’ve done :

Create a project named “RealProject” which contains all code (including resources files)
Create a project named “LinkedProject” which contains nothing (I deleted all files into it and modify the csproj file as the following :

  <ItemGroup>
    <Compile Include="..\RealProject\**\*.cs" />
  </ItemGroup>

So in LinkedProject directory I’ve only :

  • [Directory] bin
  • [Directory] obj
  • [File ] LinkedProject.csproj

The whole LinkedProject uses the RealProject files, it’s just a different configuration build (see here to know why : C# – Code compiler for .NET & CF.NET )

Once in that configuration, I’ve no access to the resources files from the RealProject …

If you need screens or more detailed explanation, just ask.


[EDIT]

With this code, it works, Resource manager isn’t loaded on the good Assembly name, but it should exists a better solution !!!

Assembly ass = Assembly.ReflectionOnlyLoadFrom(@"..\..\..\RealProject\bin\Debug\RealProject.dll");
ResourceManager manager = new ResourceManager("RealProject.Properties.Resources", ass);

[Solution]

Things to check :

  • The LinkedProject as the same
    namespace as the RealProject
  • Add Resources as links
  • Clean up all your solution
  • Rebuild it

Test !

  • 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-20T07:32:35+00:00Added an answer on May 20, 2026 at 7:32 am

    Try to add the resource file as a link to the other two projects and make sure the namespaces as defined in the project file is the same.

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

Sidebar

Related Questions

I have a global that I would like to share across multiple files. Lets
I've got two git project repos that have two or three files in common.
I would like to share int counter between two process and base on some
I would like to remove two files from a folder at the conclusion of
I have written a project for my students organization. I would like to share
i would like a working example, that uses a asp.net session state server, to
I have a project where I would like to create two session cookies in
I have a class that I want to share between two different applications. The
I've got two legacy codebases that I would like to have living side by
I have several A4 PDF documents which I would like (two into one) glue

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.