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:
parent
f63258ebaa
commit
a477fe7253
7 changed files with 154 additions and 53 deletions
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="14.0" DefaultTargets="Test" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<Target Name="SetupTestAssetProjectData"
|
||||
DependsOnTargets="AssociateTestAssetInputFilesWithProject">
|
||||
</Target>
|
||||
|
@ -30,17 +30,15 @@
|
|||
</Target>
|
||||
|
||||
<Target Name="SetupBuildTestAssetProjectInputs">
|
||||
<PropertyGroup>
|
||||
<PathSeparator>/</PathSeparator>
|
||||
<PathSeparator Condition=" '$(OSName)' == 'win' ">\</PathSeparator>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<NoAutoBuildTestAssets Include="TestAssets$(PathSeparator)TestProjects$(PathSeparator)**$(PathSeparator).noautobuild" />
|
||||
<NoAutoBuildTestAssetProjects Include="%(NoAutoBuildTestAssets.RelativeDir)project.json" />
|
||||
|
||||
<TestAssetProjects Include="TestAssets$(PathSeparator)TestProjects$(PathSeparator)**$(PathSeparator)project.json"
|
||||
<PreTestAssetProjects Include="TestAssets$(PathSeparator)TestProjects$(PathSeparator)**$(PathSeparator)project.json"/>
|
||||
|
||||
<TestAssetProjects Include="%(PreTestAssetProjects.RelativeDir)project.json"
|
||||
Exclude="@(NoAutoBuildTestAssetProjects)"/>
|
||||
|
||||
<TestAssetProjects>
|
||||
<BuildInputIncludeFilter>%(RelativeDir)**/*.*</BuildInputIncludeFilter>
|
||||
<BuildInputExcludeFilter>%(RelativeDir)bin/**/*.*;%(RelativeDir)obj/**/*.*</BuildInputExcludeFilter>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue