Revert "Skip desktop testing to work around corefx issue."

This reverts commit 27c6ad410e.
This commit is contained in:
N. Taylor Mullen 2017-06-02 16:45:13 -07:00
parent b9e397ed3b
commit fa8accfa59
3 changed files with 6 additions and 7 deletions

View File

@ -15,11 +15,10 @@ namespace Microsoft.AspNetCore.Mvc.Razor.ViewCompilation
get get
{ {
yield return RuntimeFlavor.CoreClr; yield return RuntimeFlavor.CoreClr;
// Can't run on CLR until https://github.com/dotnet/corefx/issues/20364 is resolved. if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
//if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) {
//{ yield return RuntimeFlavor.Clr;
// yield return RuntimeFlavor.Clr; }
//}
} }
} }

View File

@ -16,7 +16,7 @@ namespace Microsoft.AspNetCore.Mvc.Razor.ViewCompilation
public ApplicationTestFixture Fixture { get; } public ApplicationTestFixture Fixture { get; }
[Fact(Skip = "https://github.com/dotnet/corefx/issues/20364")] [Fact(Skip = "https://github.com/aspnet/MvcPrecompilation/issues/134")]
public async Task Precompilation_WorksForSimpleApps() public async Task Precompilation_WorksForSimpleApps()
{ {
// Arrange // Arrange

View File

@ -12,6 +12,6 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="$(AspNetCoreVersion)" /> <PackageReference Include="Microsoft.AspNetCore.Mvc" Version="$(AspNetCoreVersion)" />
</ItemGroup> </ItemGroup>
<Target Name="PrecompileRazorViews" AfterTargets="Build" DependsOnTargets="MvcRazorPrecompile" Condition="'$(TargetFramework)'!='' AND '$(TargetFramework)'!='net461'" /> <Target Name="PrecompileRazorViews" AfterTargets="Build" DependsOnTargets="MvcRazorPrecompile" Condition="'$(TargetFramework)'!=''" />
</Project> </Project>