diff --git a/FSharpBuild.Directory.Build.props b/FSharpBuild.Directory.Build.props
index c38700df06c..31d24301299 100644
--- a/FSharpBuild.Directory.Build.props
+++ b/FSharpBuild.Directory.Build.props
@@ -3,6 +3,10 @@
+
+ true
+
+
$(RepoRoot)src
diff --git a/eng/Build.ps1 b/eng/Build.ps1
index 04afc1b1d46..26c55741ab1 100644
--- a/eng/Build.ps1
+++ b/eng/Build.ps1
@@ -46,6 +46,7 @@ param (
[switch][Alias('test')]$testDesktop,
[switch]$testCoreClr,
[switch]$testFSharpQA,
+ [switch]$testFSharpCore,
[switch]$testVs,
[switch]$testAll,
@@ -76,6 +77,7 @@ function Print-Usage() {
Write-Host " -testDesktop Run tests against full .NET Framework"
Write-Host " -testCoreClr Run tests against CoreCLR"
Write-Host " -testFSharpQA Run F# Cambridge tests"
+ Write-Host " -testFSharpCore Run FSharpCore unit tests"
Write-Host " -testVs Run F# editor unit tests"
Write-Host ""
Write-Host "Advanced settings:"
@@ -271,6 +273,14 @@ try {
Pop-Location
}
+ if ($testFSharpCore) {
+ Write-Host "Environment Variables"
+ Get-Childitem Env:
+ TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Core.UnitTests\FSharp.Core.UnitTests.fsproj" -targetFramework $desktopTargetFramework
+ TestUsingNUnit -testProject "$RepoRoot\tests\FSharp.Core.UnitTests\FSharp.Core.UnitTests.fsproj" -targetFramework $coreclrTargetFramework
+ }
+
+
if ($testVs) {
Write-Host "Environment Variables"
Get-Childitem Env: