2011-06-27 57 views

回答

0

一個選擇,那就是比較簡單,是剛剛添加的設置在代碼的測試中:

ConfigurationManager.AppSettings["FolderPathInConfig"] = 
      Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "TestData");