So I have files that are used in multiple projects (in one solution). Which way would I choose?
- Embedded Resource and use with Assembly.GetManifestResourceStream
- Add file to Resources.resx and use with Properties.Resources.
- Copy to Output Directoryand use the known path to read
- Linked Resource?
Right now the files reside inside a Resource-Folder in the root directory of the solution. But this way there is no relative path to these files.
I could add them to properties/resources but to which project? There is no "main" project that handles these files. Or create a new "ResourceHolder"-project just for resources?
If I add them to multiple projects they are all copies and not links to the original file/path as far as I know... so that's also no option.
Can't you add resources solution wide? Or better have a solution wide folder and only if a project uses a file it is then copied to output and can be used with a relative path?