razor-tooling/eng/Build.props

17 строки
1.0 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup>
<!-- Note: It is important BuildAnalyzers.sln builds first and does not allow building in parallel.
Because projects in Razor.sln (or Razor.Slim.slnf) have a project reference to Razor.Diagnostics.Analyzers
that is treated as an analyzer, there can be file locking issues if Razor.Diagnostics.Analyzers isn't
built before Razor.sln. Setting "BuildInParallel" to "false" ensures that this solution will be fully
built first. -->
<ProjectToBuild Include="$(RepoRoot)\eng\BuildAnalyzers.sln" BuildInParallel="false" />
<ProjectToBuild Condition="'$(OS)'=='WINDOWS_NT' and '$(SdkTaskProjects)'==''" Include="$(MSBuildThisFileDirectory)..\Razor.sln" />
<!-- Exclude VSIX projects on non-Windows -->
<ProjectToBuild Condition="'$(OS)'!='WINDOWS_NT' and '$(SdkTaskProjects)'==''" Include="$(MSBuildThisFileDirectory)..\Razor.Slim.slnf" />
</ItemGroup>
</Project>