Don't run build server when building testapps in-place
This commit is contained in:
parent
93d8a93498
commit
4bad5adc24
|
|
@ -67,6 +67,9 @@ namespace Microsoft.AspNetCore.Razor.Design.IntegrationTests
|
||||||
// Disable node-reuse. We don't want msbuild processes to stick around
|
// Disable node-reuse. We don't want msbuild processes to stick around
|
||||||
// once the test is completed.
|
// once the test is completed.
|
||||||
"/nr:false",
|
"/nr:false",
|
||||||
|
|
||||||
|
// Let the test app know it is running as part of a test.
|
||||||
|
"/p:RunningAsTest=true",
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!suppressRestore)
|
if (!suppressRestore)
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,11 @@
|
||||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Test Placeholder -->
|
<!-- Test Placeholder -->
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,11 @@
|
||||||
<Description>ClassLibrary Description</Description>
|
<Description>ClassLibrary Description</Description>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Test Placeholder -->
|
<!-- Test Placeholder -->
|
||||||
|
|
||||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,11 @@
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>netstandard2.0</TargetFramework>
|
<TargetFramework>netstandard2.0</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<ProjectReference Include="..\ClassLibrary\ClassLibrary.csproj" />
|
<ProjectReference Include="..\ClassLibrary\ClassLibrary.csproj" />
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@
|
||||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Test Placeholder -->
|
<!-- Test Placeholder -->
|
||||||
|
|
||||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@
|
||||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Test Placeholder -->
|
<!-- Test Placeholder -->
|
||||||
|
|
||||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@
|
||||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<Compile Include="Models/ErrorViewModel.fs" />
|
<Compile Include="Models/ErrorViewModel.fs" />
|
||||||
<Compile Include="Program.fs" />
|
<Compile Include="Program.fs" />
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@
|
||||||
<TargetFramework>netcoreapp2.2</TargetFramework>
|
<TargetFramework>netcoreapp2.2</TargetFramework>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
<PropertyGroup Condition="'$(RunningAsTest)' == ''">
|
||||||
|
<!-- We don't want to run build server when not running as tests. -->
|
||||||
|
<UseRazorBuildServer>false</UseRazorBuildServer>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
<!-- Test Placeholder -->
|
<!-- Test Placeholder -->
|
||||||
|
|
||||||
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
<Import Project="$(SolutionRoot)src\Microsoft.AspNetCore.Mvc.Razor.Extensions\build\netstandard2.0\Microsoft.AspNetCore.Mvc.Razor.Extensions.targets" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue