Implemented SD2-1237 - Support accessing linked resource files. Resource files that are accessed using a ResourceManager (except the designer generated ones) are now searched in the project instead of directly on disk.
git-svn-id: svn://svn.sharpdevelop.net/sharpdevelop/trunk@2320 1ccf3a8d-04fe-1044-b7c0-cef0b8235c61
/// Tries to find a resource file name for the manifest resources specified by
/// <paramref name="resourceName"/> according to the default MSBuild rules
/// for embedding resources.
/// The reference to these resources occurs within the project <paramref name="p"/>.
/// </summary>
/// <param name="resourceName">The name of the manifest resources to find the resource file for.</param>
/// <param name="p">The project where the reference to these resources occurs.</param>
/// <returns>The full path and name of the resource file that contains the specified resources, or <c>null</c> if no suitable resource file is found.</returns>
/// Gets a <see cref="IResourceFileContentFactory"/> that can create the resource file content
/// for the specified resource file.
/// </summary>
/// <param name="fileName">The resource file to get a <see cref="IResourceFileContentFactory"/> for.</param>
/// <returns>A <see cref="IResourceFileContentFactory"/> that can create the resource file content for the specified file, or <c>null</c> if the specified file is not supported by any registered resource file content factory.</returns>