AppDomain.CurrentDomain.BaseDirectory
  获得应用程序根目录
假如你的项目在d:\项目名
用AppDomain.CurrentDomain.BaseDirectory取得值就是
d:\项目名\bin

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-05-23
  • 2022-12-23
  • 2021-05-29
  • 2022-01-01
猜你喜欢
  • 2022-02-14
  • 2022-01-31
  • 2022-12-23
  • 2022-01-02
  • 2021-12-29
相关资源
相似解决方案