Skip to content

Commit 9add797

Browse files
authored
remove auto-preview (#7344)
1 parent dbdca01 commit 9add797

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/fsharp/FSharp.Build/Microsoft.FSharp.Targets

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -272,13 +272,6 @@ this file.
272272
<FscOtherFlags Condition="'$(SimpleResolution)' != 'true'">$(OtherFlags)</FscOtherFlags>
273273
</PropertyGroup>
274274

275-
<PropertyGroup>
276-
<!-- default to preview when building netcoreap3.0 or netstandard2.1 -->
277-
<LangVersion Condition="'$(LangVersion)' == '' AND
278-
(('$(TargetFrameworkIdentifier)' == '.NETCoreApp' AND '$(TargetFrameworkVersion)' == 'v3.0') OR
279-
('$(TargetFrameworkIdentifier)' == '.NETStandard' AND '$(TargetFrameworkVersion)' == 'v2.1'))">preview</LangVersion>
280-
</PropertyGroup>
281-
282275
<!-- Condition is to filter out the _CoreCompileResourceInputs so that it doesn't pass in culture resources to the compiler -->
283276
<!-- NOTE: ManifestResourceWithNoCulture and ManifestNonResxWithNoCultureOnDisk are generated by Mono targets files -->
284277
<Fsc Condition="'%(_CoreCompileResourceInputs.WithCulture)' != 'true'"

0 commit comments

Comments
 (0)