C#-获取工程路径

 

 

            string workingDirectory = Environment.CurrentDirectory;
            string projectDirectory2 = Directory.GetParent(workingDirectory).Parent.Parent.FullName;

 

posted @ 2020-09-21 15:11  JinweiChang  阅读(302)  评论(0编辑  收藏  举报