diff options
author | Steve Pfister <steveisok@users.noreply.github.com> | 2020-05-15 20:36:11 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 20:36:11 +0300 |
commit | b6ef0a54ad0dbe016ec63850e3a70bfacb9bde09 (patch) | |
tree | 7cb94289d6a1cf08bb43f33917e9ded3296ff72c /Build.proj | |
parent | ec08b855725a1566f2cd66200aaba37ef405c62d (diff) |
Move mobile AppBuilder & AOTCompiler projects into tools-local (#36478)
Moving the projects will make sure their artifacts are always available to the different CI legs.
Diffstat (limited to 'Build.proj')
-rw-r--r-- | Build.proj | 41 |
1 files changed, 4 insertions, 37 deletions
diff --git a/Build.proj b/Build.proj index ef12cca9de1..dc4a15ab5f4 100644 --- a/Build.proj +++ b/Build.proj @@ -27,43 +27,10 @@ <Import Project="$(RepositoryEngineeringDir)restore\docs.targets" Condition="'$(DotNetBuildFromSource)' != 'true'" /> <Import Project="$(RepositoryEngineeringDir)restore\optimizationData.targets" Condition="'$(DotNetBuildFromSource)' != 'true' and '$(EnableNgenOptimization)' == 'true'" /> - <!-- - Use synthetic inputs/outputs to avoid building it all the time. This should let devs build with - MSBuild node reuse enabled (the Arcade default). If it were built every time, it would hit file - locking issues vs. the persistent nodes that loaded the task DLL for the previous build. It - isn't particularly accurate, but better than nothing. - --> - <Target Name="BuildRepoTasks" - DependsOnTargets="GetRepoTasksSrc" - BeforeTargets="Restore" - Inputs="@(RepoTasksSrc)" - Outputs="$(RepoTasksOutputFile)"> - <ItemGroup> - <RepoTaskProjects Include="$(RepoTasksDir)**\*.csproj" /> - </ItemGroup> - - <MSBuild Projects="@(RepoTaskProjects)" - Properties="MSBuildRestoreSessionId=$([System.Guid]::NewGuid());Configuration=Debug;Platform=AnyCPU" - Targets="Restore"/> - - <MSBuild Projects="@(RepoTaskProjects)" - Properties="Configuration=Debug;Platform=AnyCPU" - Targets="Build"/> - - <WriteLinesToFile File="$(RepoTasksOutputFile)" - Lines="$(RepoTasksOutputFile)" - Overwrite="true" /> - </Target> - - <Target Name="GetRepoTasksSrc"> - <PropertyGroup> - <RepoTasksDir>$(RepoTasksDir)</RepoTasksDir> - <RepoTasksOutputFile>$(ArtifactsObjDir)runtime.tasks\Debug\build-semaphore.txt</RepoTasksOutputFile> - </PropertyGroup> - - <ItemGroup> - <RepoTasksSrc Include="$(RepoTasksDir)**\*.cs*" /> - </ItemGroup> + <Target Name="BuildLocalTasks" + BeforeTargets="Restore"> + <MSBuild Projects="$(RepoTasksDir)tasks.proj" + Targets="BuildAndRestoreIncrementally"/> </Target> <Target Name="RestoreWithoutStaticGraph" |