diff --git a/tests/service/Common.fs b/tests/service/Common.fs index ce05828bb9..a02cfa1c20 100644 --- a/tests/service/Common.fs +++ b/tests/service/Common.fs @@ -109,6 +109,7 @@ let mkProjectCommandLineArgsSilent (dllName, fileNames) = yield "--define:DEBUG" #if NETCOREAPP yield "--targetprofile:netcore" + yield "--langversion:preview" #endif yield "--optimize-" yield "--out:" + dllName