
I used this code to access the Specific XML under the SharePoint Mapped Folder;
XmlReader reader = XmlReader.Create(Assembly.GetExecutingAssembly().GetManifestResourceStream(
string.Format("{0}\\{1}", SPUtility.GetGenericSetupPath("TEMPLATE\\ADMIN\\AIP_RefinementPanel"), "CustomFilterCategoryDefinition.xml")));
But I got an error during the deployment. This code doesn’t work to access this XML file. How can I fix my fault?
Thank you,
MKacar
Your code should work if you omit the call to GetManifestResourceStream. I suppose you want to read a file from the filesystem not a resource embedded to your assembly.