I have .xsl file embedded in a dLL. I have added the dll as a reference in my current project.
And I want to get all the names of all files in the dll from my current project.
This is what I calling from the Main method.
When I just try to get the resource file names from the assemblies, it is not giving the proper file names. My code :
Assembly a = Assembly.GetExecutingAssembly();
string resNames = a.GetManifestResourceNames();
int len = resNames.Length;
for (int i = 0; i < len;i++ )
MessageBox.Show("filenames == "+resNames[i]);
It is giving the following output :--
It is not reading the resource names inside the dll file . Why ??
Is something worng with my code ?