AppDomain.CurrentDomain.BaseDirectory

 

如果在testdriven下,最后不包含"\"

如果在程序debug下,最后就包含。

 

变态。。。

 

 

建议以后全部用

 

Environment.CurrentDirectory;

相关文章:

  • 2022-12-23
  • 2021-11-26
  • 2022-01-07
  • 2021-05-16
  • 2021-05-25
  • 2021-12-12
  • 2021-11-30
  • 2021-10-05
猜你喜欢
  • 2021-09-20
  • 2022-03-02
  • 2021-09-05
  • 2022-12-23
  • 2021-05-31
  • 2021-05-11
  • 2022-01-06
相关资源
相似解决方案