Skip to content

Commit

Permalink
Adding default ProduceReferenceAssembly value for F# (#13085)
Browse files Browse the repository at this point in the history
* Adding default ProduceReferenceAssembly value for f#

* Disabling f# test on full framework
  • Loading branch information
sfoslund committed Aug 26, 2020
1 parent 041605d commit 26855b5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@ Copyright (c) .NET Foundation. All rights reserved.
</PropertyGroup>
<Import Condition=" '$(UseBundledFSharpTargets)' == 'true' and Exists('$(FSharpPropsShim)') " Project="$(FSharpPropsShim)" />

<PropertyGroup>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
</PropertyGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,21 @@ public void It_builds_a_simple_desktop_app()
"System.ValueTuple.dll",
});
}

// https://github.com/dotnet/sdk/issues/12560
[CoreMSBuildAndWindowsOnlyFact]
public void It_builds_a_simple_net50_app()
{
var testAsset = _testAssetsManager
.CopyTestAsset("HelloWorldFS")
.WithSource()
.WithTargetFramework("net5.0");

var buildCommand = new BuildCommand(testAsset);
buildCommand
.Execute()
.Should()
.Pass();
}
}
}

0 comments on commit 26855b5

Please sign in to comment.