From 347aa173338157fe286f4c0d823a41e3e6040db6 Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Fri, 24 Apr 2020 20:51:41 +0200 Subject: [PATCH] this is also the current directory --- GameBundle/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameBundle/Program.cs b/GameBundle/Program.cs index 9983376..e3c3410 100644 --- a/GameBundle/Program.cs +++ b/GameBundle/Program.cs @@ -78,7 +78,7 @@ namespace GameBundle { private static FileInfo GetProjectFile(Options options) { if (!string.IsNullOrEmpty(options.SourceFile)) return new FileInfo(options.SourceFile); - var dir = new DirectoryInfo(Environment.CurrentDirectory); + var dir = new DirectoryInfo("."); foreach (var file in dir.EnumerateFiles()) { if (Path.GetExtension(file.FullName).Contains("proj")) return file;