|
i have created a full trust xbap application, that make use of some xml files which i have refered as relative path from bin folder. Problem is, i have to copy those xml file explicitly to root c:\ to make xbap run explicitly. Why it does not refer to the path i have mentioned in my programming and always pick c:\ .
i am storing xml file in Data folder that is located where the bin folder of my project is , that is bin/Data/abc.xml , so i have mentioned ../../Data/abc.xml
Xbap file is located as bin/xbapdebug/proj.xbap
when i use this type of relative path in an exe application it picks xml file from the folder mentioned. i want that application should pick path of those files relativly , from the coding.
|