一直认为AppDomain.CurrentDomain.BaseDirectory.ToString()的结果类似于:D:\C\WpfApplication2\ConsoleApp\bin\Debug\

不过今天遇到一个例外:在wcf服务里,AppDomain.CurrentDomain.BaseDirectory.ToString()的结果类似于:D:\C\WpfApplication2\ConsoleApp\bin\Debug

最后少了\

 

who can tell me what happened?

相关文章:

  • 2021-09-26
  • 2021-11-17
  • 2021-09-09
  • 2022-12-23
  • 2022-12-23
  • 2019-11-09
  • 2022-01-15
猜你喜欢
  • 2019-03-22
  • 2021-05-20
  • 2021-08-29
  • 2021-11-09
  • 2021-05-27
相关资源
相似解决方案