Incremental build of test projects (#3859)

* If restore incrementality fails, clean out all lock files to re-enable incrementality.

* Incremental build of TestProjects

* Remove reduntant build of test projects

* Fix CI

* Fix list of executable tests

* Msi tests on net46

* Path Separators

* PR Feedback

* Win Diag

* Let's try a hack!

* And another!

* Mor Diag

* McHack

* Slashety slash slash

* One more hack
This commit is contained in:
Piotr Puszkiewicz 2016-07-15 00:20:23 -07:00 committed by GitHub
parent f63258ebaa
commit a477fe7253
7 changed files with 154 additions and 53 deletions

View file

@ -12,7 +12,7 @@ namespace Microsoft.DotNet.Cli.Build
protected override string Args
{
get { return $"{GetConfiguration()} {GetXml()} {GetNoTrait()}"; }
get { return $"{GetConfiguration()} {GetNoBuild()} {GetXml()} {GetNoTrait()}"; }
}
public string Configuration { get; set; }
@ -21,6 +21,8 @@ namespace Microsoft.DotNet.Cli.Build
public string NoTrait { get; set; }
public bool NoBuild { get; set; }
private string GetConfiguration()
{
if (!string.IsNullOrEmpty(Configuration))
@ -50,5 +52,15 @@ namespace Microsoft.DotNet.Cli.Build
return null;
}
private string GetNoBuild()
{
if (NoBuild)
{
return "--no-build";
}
return null;
}
}
}