Skip to content

Commit 3aa2aa6

Browse files
committed
Make uniform in the .csproj files the enabling of preview features and making sure runtime-async=on.
1 parent 7a39af1 commit 3aa2aa6

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

Clojure/Clojure.Compile/Clojure.Compile.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
<StartupObject>BootstrapCompile.Compile</StartupObject>
88
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
99
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
10-
<EnablePreviewFeatures Condition=" '$(TargetFramework)' == 'net11.0'">True</EnablePreviewFeatures>
1110
</PropertyGroup>
1211

12+
<PropertyGroup Condition="'$(TargetFramework)' == 'net11.0'">
13+
<EnablePreviewFeatures>true</EnablePreviewFeatures>
14+
<Features>$(Features);runtime-async=on</Features>
15+
</PropertyGroup>
16+
1317
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
1418
<WarningLevel>0</WarningLevel>
1519
</PropertyGroup>

Clojure/Clojure.Main/Clojure.Main.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@
88
<PackAsTool>true</PackAsTool>
99
<EnableUnsafeBinaryFormatterSerialization>true</EnableUnsafeBinaryFormatterSerialization>
1010
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
11-
<EnablePreviewFeatures Condition=" '$(TargetFramework)' == 'net11.0'">True</EnablePreviewFeatures>
1211
</PropertyGroup>
1312

13+
<PropertyGroup Condition="'$(TargetFramework)' == 'net11.0'">
14+
<EnablePreviewFeatures>true</EnablePreviewFeatures>
15+
<Features>$(Features);runtime-async=on</Features>
16+
</PropertyGroup>
17+
1418
<PropertyGroup>
1519
<Title>ClojureCLR-REPL</Title>
1620
<Description>Standard REPL for ClojureCLR.</Description>

Clojure/Clojure.Tests.Support/Clojure.Tests.Support.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,13 @@
44
<TargetFrameworks>net6.0;net8.0;net9.0;net10.0;net11.0;net462;net481</TargetFrameworks>
55
<LangVersion>14.0</LangVersion>
66
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
7-
<EnablePreviewFeatures Condition=" '$(TargetFramework)' == 'net11.0'">True</EnablePreviewFeatures>
87
</PropertyGroup>
98

9+
<PropertyGroup Condition="'$(TargetFramework)' == 'net11.0'">
10+
<EnablePreviewFeatures>true</EnablePreviewFeatures>
11+
<Features>$(Features);runtime-async=on</Features>
12+
</PropertyGroup>
13+
1014
<ItemGroup>
1115
<ProjectReference Include="..\Clojure\Clojure.csproj" />
1216
</ItemGroup>

Clojure/Csharp.Tests/Csharp.Tests.csproj

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,13 @@
77
<IsTestProject>true</IsTestProject>
88
<SuppressTfmSupportBuildWarnings>true</SuppressTfmSupportBuildWarnings>
99
<NoWarn>CS8002</NoWarn>
10-
<EnablePreviewFeatures Condition=" '$(TargetFramework)' == 'net11.0'">True</EnablePreviewFeatures>
1110
</PropertyGroup>
1211

12+
<PropertyGroup Condition="'$(TargetFramework)' == 'net11.0'">
13+
<EnablePreviewFeatures>true</EnablePreviewFeatures>
14+
<Features>$(Features);runtime-async=on</Features>
15+
</PropertyGroup>
16+
1317
<ItemGroup>
1418
<PackageReference Include="clojure.core.specs.alpha"/>
1519
<PackageReference Include="DynamicLanguageRuntime"/>

0 commit comments

Comments
 (0)