diff --git a/src/dotnet/Program.cs b/src/dotnet/Program.cs index 0f4e67d45..1bb50e714 100644 --- a/src/dotnet/Program.cs +++ b/src/dotnet/Program.cs @@ -160,7 +160,7 @@ namespace Microsoft.DotNet.Cli private static string GetCommitSha() { // The CLI ships with a .version file that stores the commit information - var versionFile = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, "..", ".version")); + var versionFile = Path.GetFullPath(Path.Combine(AppContext.BaseDirectory, ".version")); if (File.Exists(versionFile)) {