Last post Jan 09, 2015 02:12 PM by SheldonS
Jan 09, 2015 01:43 PM|SheldonS|LINK
I have a solution that will consist of several console apps. One of the projects in the solution is what I call MyCommons. MyCommons contains constants, classes, and a CustomSettings.xml. Accessing the classes and constants are not a problem. I am running
into a wall when I try to use something like this to access that CustomSettings.xml file in the MyCommons project from a different project in the solution.
XElement customSettings = XElement.Load("CustomSettings.xml");
Jan 09, 2015 02:12 PM|SheldonS|LINK
Silly me, I thought I had already set Copy to Output Directory on the XML but I did not. I changed it to Copy Alway and I am able to access the XML file.