Hi all! I followed example from wiki 

But when 

XmlDocument sqlMapConfig =
Resources.GetEmbeddedResourceAsXmlDocument("Map.sqlMap.config,
DataLayer");

I got 

Additional information: Unable to load embedded resource from assembly
"Map.sqlMap.config, DataLayer".

 

My assembly is compiled as DLL

I have following directory Tree 

Projects
       DataLayer
              Maps
              Conf
       

Under Conf folder is sqlMap.conf.

 

Reply via email to