Skip to content
This repository has been archived by the owner on Nov 29, 2018. It is now read-only.

Commit

Permalink
Skip desktop testing to work around corefx issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
NTaylorMullen committed May 31, 2017
1 parent 58fb7a8 commit b7f1207
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,11 @@ public static IEnumerable<RuntimeFlavor> SupportedFlavors
get
{
yield return RuntimeFlavor.CoreClr;
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
yield return RuntimeFlavor.Clr;
}
// Can't run on CLR until https://github.com/dotnet/corefx/issues/20364 is resolved.
//if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
//{
// yield return RuntimeFlavor.Clr;
//}
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public SimpleAppX86DesktopOnlyTest(SimpleAppX86DesktopOnlyFixture fixture)

public ApplicationTestFixture Fixture { get; }

[Fact]
[Fact(Skip = "https://github.com/dotnet/corefx/issues/20364")]
public async Task Precompilation_WorksForSimpleApps()
{
// Arrange
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@
<PackageReference Include="Microsoft.AspNetCore.Mvc" Version="$(AspNetCoreVersion)" />
</ItemGroup>

<Target Name="PrecompileRazorViews" AfterTargets="Build" DependsOnTargets="MvcRazorPrecompile" Condition="'$(TargetFramework)'!=''" />
<Target Name="PrecompileRazorViews" AfterTargets="Build" DependsOnTargets="MvcRazorPrecompile" Condition="'$(TargetFramework)'!='' AND '$(TargetFramework)'!='net461'" />

</Project>

0 comments on commit b7f1207

Please sign in to comment.