获得程序当前目录
DirectoryInfo sourceDirectory = new DirectoryInfo(Path.Combine(Path.GetFullPath(new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName), "good"));
posted on 2014-06-30 17:35 shoutcharter 阅读(103) 评论(0) 编辑 收藏 举报
DirectoryInfo sourceDirectory = new DirectoryInfo(Path.Combine(Path.GetFullPath(new FileInfo(Assembly.GetExecutingAssembly().Location).DirectoryName), "good"));
posted on 2014-06-30 17:35 shoutcharter 阅读(103) 评论(0) 编辑 收藏 举报