Merge pull request #1847 from cdmihai/cdmihai/recompileWhenCLIChanged

Trigger rebuild when the CLI changed
This commit is contained in:
Livar 2016-03-28 19:02:06 -07:00
commit b0e457559d
6 changed files with 142 additions and 23 deletions

View file

@ -169,8 +169,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 = DotnetFiles.VersionFile;
if (File.Exists(versionFile))
{