title: How can I access the XML file under SharePoint Mapped Folder for Creating Xml Reader?
body: <p><img src="https://i.stack.imgur.com/DSjnS.png" alt="SharePoint Mapped Folder Structure"></p>
  
  <p>I used this code to access the Specific XML under the SharePoint Mapped Folder;</p>
  
  <p><code>XmlReader reader = XmlReader.Create(Assembly.GetExecutingAssembly().GetManifestResourceStream(
  string.Format("{0}\\{1}", SPUtility.GetGenericSetupPath("TEMPLATE\\ADMIN\\AIP_RefinementPanel"), "CustomFilterCategoryDefinition.xml")));</code></p>
  
  <p>But I got an error during the deployment. This code doesn't work to access this XML file. How can I fix my fault? </p>
  
  <p>Thank you,</p>
  
  <p>MKacar</p>