Problem:
When do debugging on UnitTest, can not read input from debug-output/assembly-output for there is no input data file[xml/config] file in output folder.
Solution:
How to fix it? DeploymentItem()
How to do:
1. Choose "XML" file, visit its property and set "Copy Always" in "Copy to Output Directory"
2. Check "Enable Deployment" in *.testsettings under [Solution Explorer\Solution Items]
3. Add "DeploymentItem(string path)"/"DeploymentItem(String Path, Ouput)" to your target as attribute
Then, It works.