Skip to content

Commit 9676cc1

Browse files
authored
remove redundant DefineConstants RELEASE (#6695)
1 parent 48a6054 commit 9676cc1

File tree

59 files changed

+0
-211
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+0
-211
lines changed

src/benchmark/PingPong/PingPong.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,4 @@
2727
<DefineConstants>$(DefineConstants);THREADS</DefineConstants>
2828
</PropertyGroup>
2929

30-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
31-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
32-
</PropertyGroup>
33-
3430
</Project>

src/contrib/cluster/Akka.Cluster.Metrics.Tests.MultiNode/Akka.Cluster.Metrics.Tests.MultiNode.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,4 @@
2626
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
2727
</ItemGroup>
2828

29-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
30-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
31-
</PropertyGroup>
3229
</Project>

src/contrib/cluster/Akka.Cluster.Metrics.Tests/Akka.Cluster.Metrics.Tests.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,4 @@
2525
<Reference Include="System.Xml.Linq" />
2626
</ItemGroup>
2727

28-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
29-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
30-
</PropertyGroup>
31-
3228
</Project>

src/contrib/cluster/Akka.Cluster.Metrics/Akka.Cluster.Metrics.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,4 @@
2424
<PackageReference Include="System.Diagnostics.Process" Version="4.3.0" />
2525
</ItemGroup>
2626

27-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
28-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
29-
</PropertyGroup>
30-
3127
</Project>

src/contrib/cluster/Akka.Cluster.Sharding.Tests.MultiNode/Akka.Cluster.Sharding.Tests.MultiNode.csproj

-6
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,5 @@
2323
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2424
</PackageReference>
2525
</ItemGroup>
26-
27-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
28-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
29-
</PropertyGroup>
30-
31-
3226

3327
</Project>

src/contrib/cluster/Akka.Cluster.Sharding.Tests/Akka.Cluster.Sharding.Tests.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,6 @@
3434
<Reference Include="System.Xml.Linq" />
3535
</ItemGroup>
3636

37-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
38-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
39-
</PropertyGroup>
40-
4137
<!-- use the xunit JSON settings file -->
4238
<ItemGroup>
4339
<Content Include="..\..\..\xunit.runner.json" Link="xunit.runner.json">

src/contrib/cluster/Akka.Cluster.Sharding/Akka.Cluster.Sharding.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,4 @@
1818
<ProjectReference Include="..\Akka.DistributedData\Akka.DistributedData.csproj"/>
1919
</ItemGroup>
2020

21-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
22-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
23-
</PropertyGroup>
24-
2521
</Project>

src/contrib/cluster/Akka.Cluster.Tools.Tests.MultiNode/Akka.Cluster.Tools.Tests.MultiNode.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@
2323
</PackageReference>
2424
</ItemGroup>
2525

26-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
27-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
28-
</PropertyGroup>
2926
</Project>

src/contrib/cluster/Akka.Cluster.Tools.Tests/Akka.Cluster.Tools.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,4 @@
2020
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
2121
</ItemGroup>
2222

23-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
24-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
25-
</PropertyGroup>
2623
</Project>

src/contrib/cluster/Akka.Cluster.Tools/Akka.Cluster.Tools.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,4 @@
1515
<ProjectReference Include="..\..\..\core\Akka.Coordination\Akka.Coordination.csproj"/>
1616
</ItemGroup>
1717

18-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
19-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
20-
</PropertyGroup>
21-
2218
</Project>

src/contrib/cluster/Akka.DistributedData.LightningDB/Akka.DistributedData.LightningDB.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,4 @@
1818
<PackageReference Include="LightningDB" Version="0.15.0"/>
1919
</ItemGroup>
2020

21-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
22-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
23-
</PropertyGroup>
24-
2521
</Project>

src/contrib/cluster/Akka.DistributedData.Tests.MultiNode/Akka.DistributedData.Tests.MultiNode.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@
2323
</PackageReference>
2424
</ItemGroup>
2525

26-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
27-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
28-
</PropertyGroup>
2926
</Project>

src/contrib/cluster/Akka.DistributedData.Tests/Akka.DistributedData.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,4 @@
2121
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
2222
</ItemGroup>
2323

24-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
25-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
26-
</PropertyGroup>
2724
</Project>

src/contrib/cluster/Akka.DistributedData/Akka.DistributedData.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,4 @@
1818
<PackageReference Include="Hyperion" Version="$(HyperionVersion)"/>
1919
</ItemGroup>
2020

21-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
22-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
23-
</PropertyGroup>
24-
2521
</Project>

src/contrib/persistence/Akka.Persistence.Query.InMemory/Akka.Persistence.Query.InMemory.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,4 @@
1717
<EmbeddedResource Include="reference.conf" />
1818
</ItemGroup>
1919

20-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
21-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
22-
</PropertyGroup>
23-
2420
</Project>

src/contrib/persistence/Akka.Persistence.Query.Sql/Akka.Persistence.Query.Sql.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@
1616
<ProjectReference Include="..\Akka.Persistence.Sql.Common\Akka.Persistence.Sql.Common.csproj" />
1717
</ItemGroup>
1818

19-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
20-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
21-
</PropertyGroup>
22-
2319
</Project>

src/contrib/persistence/Akka.Persistence.Sql.Common/Akka.Persistence.Sql.Common.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,4 @@
1717
<PackageReference Include="System.Data.Common" Version="4.3.0"/>
1818
</ItemGroup>
1919

20-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
21-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
22-
</PropertyGroup>
23-
2420
</Project>

src/contrib/persistence/Akka.Persistence.Sql.TestKit/Akka.Persistence.Sql.TestKit.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,4 @@
1616
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
1717
</ItemGroup>
1818

19-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
20-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
21-
</PropertyGroup>
22-
2319
</Project>

src/contrib/persistence/Akka.Persistence.Sqlite.Tests/Akka.Persistence.Sqlite.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,4 @@
3636
</None>
3737
</ItemGroup>
3838

39-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
40-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
41-
</PropertyGroup>
4239
</Project>

src/contrib/persistence/Akka.Persistence.Sqlite/Akka.Persistence.Sqlite.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,4 @@
1919
<PackageReference Include="Microsoft.Data.SQLite" Version="7.0.5"/>
2020
</ItemGroup>
2121

22-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
23-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
24-
</PropertyGroup>
25-
2622
</Project>

src/contrib/serializers/Akka.Serialization.Hyperion.Tests/Akka.Serialization.Hyperion.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,4 @@
2424
<Reference Include="Microsoft.CSharp" />
2525
</ItemGroup>
2626

27-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
28-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
29-
</PropertyGroup>
3027
</Project>

src/contrib/serializers/Akka.Serialization.Hyperion/Akka.Serialization.Hyperion.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,4 @@
1717
<PackageReference Include="System.Runtime" Version="4.3.1"/>
1818
</ItemGroup>
1919

20-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
21-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
22-
</PropertyGroup>
2320
</Project>

src/contrib/serializers/Akka.Serialization.TestKit/Akka.Serialization.TestKit.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
<ProjectReference Include="..\..\..\core\Akka.Tests.Shared.Internals\Akka.Tests.Shared.Internals.csproj" />
1515
</ItemGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
18-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
19-
</PropertyGroup>
20-
2117
</Project>

src/contrib/testkits/Akka.TestKit.Xunit/Akka.TestKit.Xunit.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
<PackageReference Include="xunit" Version="$(XunitVersion)"/>
1515
</ItemGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
18-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
19-
</PropertyGroup>
2017
<PropertyGroup>
2118
<!-- WORKAROUND: for some reason starting at Akka.NET 1.3.2 this package was determined as "unpackable" by default via DOTNET CLI -->
2219
<IsPackable>true</IsPackable>

src/contrib/testkits/Akka.TestKit.Xunit2/Akka.TestKit.Xunit2.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@
1414
<PackageReference Include="xunit" Version="$(XunitVersion)" />
1515
</ItemGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
18-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
19-
</PropertyGroup>
2017
<PropertyGroup>
2118
<!-- WORKAROUND: for some reason starting at Akka.NET 1.3.2 this package was determined as "unpackable" by default via DOTNET CLI -->
2219
<IsPackable>true</IsPackable>

src/core/Akka.Cluster.TestKit/Akka.Cluster.TestKit.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
<ProjectReference Include="..\Akka.Cluster\Akka.Cluster.csproj" />
1515
</ItemGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
18-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
19-
</PropertyGroup>
20-
2117
</Project>

src/core/Akka.Cluster.Tests.MultiNode/Akka.Cluster.Tests.MultiNode.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,4 @@
2626
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
2727
</ItemGroup>
2828

29-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
30-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
31-
</PropertyGroup>
3229
</Project>

src/core/Akka.Cluster.Tests/Akka.Cluster.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,4 @@
2222
<PackageReference Include="Fsharp.Core" Version="$(FsharpVersion)" />
2323
</ItemGroup>
2424

25-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
26-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
27-
</PropertyGroup>
2825
</Project>

src/core/Akka.Cluster/Akka.Cluster.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,4 @@
1515
<ProjectReference Include="..\Akka.Remote\Akka.Remote.csproj"/>
1616
</ItemGroup>
1717

18-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
19-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
20-
</PropertyGroup>
21-
2218
</Project>

src/core/Akka.Coordination.Tests/Akka.Coordination.Tests.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@
2020
<PackageReference Include="FsCheck.Xunit" Version="$(FsCheckVersion)" />
2121
</ItemGroup>
2222

23-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
24-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
25-
</PropertyGroup>
26-
2723
</Project>

src/core/Akka.Coordination/Akka.Coordination.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@
99
<GenerateDocumentationFile>true</GenerateDocumentationFile>
1010
</PropertyGroup>
1111

12-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
13-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
14-
</PropertyGroup>
15-
1612
<ItemGroup>
1713
<EmbeddedResource Include="reference.conf"/>
1814
</ItemGroup>

src/core/Akka.Discovery/Akka.Discovery.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,4 @@
2121
<ProjectReference Include="..\Akka\Akka.csproj"/>
2222
</ItemGroup>
2323

24-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
25-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
26-
</PropertyGroup>
27-
2824
</Project>

src/core/Akka.FSharp.Tests/Akka.FSharp.Tests.fsproj

-4
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,4 @@
3838
<DefineConstants>$(DefineConstants);CORECLR</DefineConstants>
3939
</PropertyGroup>
4040

41-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
42-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
43-
</PropertyGroup>
44-
4541
</Project>

src/core/Akka.FSharp/Akka.FSharp.fsproj

-4
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,4 @@
2626
<PackageReference Include="FSharp.Core" Version="$(FSharpVersion)"/>
2727
</ItemGroup>
2828

29-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
30-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
31-
</PropertyGroup>
32-
3329
</Project>

src/core/Akka.Persistence.FSharp/Akka.Persistence.FSharp.fsproj

-3
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,4 @@
1919
<ProjectReference Include="..\Akka.Persistence\Akka.Persistence.csproj"/>
2020
</ItemGroup>
2121

22-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
23-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
24-
</PropertyGroup>
2522
</Project>

src/core/Akka.Persistence.Query.Tests/Akka.Persistence.Query.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@
2323
<Service Include="{82a7f48d-3b50-4b1e-b82e-3ada8210c358}" />
2424
</ItemGroup>
2525

26-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
27-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
28-
</PropertyGroup>
2926
</Project>

src/core/Akka.Persistence.Query/Akka.Persistence.Query.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,4 @@
1414
<ProjectReference Include="..\Akka.Streams\Akka.Streams.csproj"/>
1515
</ItemGroup>
1616

17-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
18-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
19-
</PropertyGroup>
20-
2117
</Project>

src/core/Akka.Persistence.TCK.Tests/Akka.Persistence.TCK.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,4 @@
1818
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)" />
1919
</ItemGroup>
2020

21-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
22-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
23-
</PropertyGroup>
2421
</Project>

src/core/Akka.Persistence.TCK/Akka.Persistence.TCK.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,4 @@
2020
<PackageReference Include="FluentAssertions" Version="$(FluentAssertionsVersion)"/>
2121
</ItemGroup>
2222

23-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
24-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
25-
</PropertyGroup>
26-
2723
</Project>

src/core/Akka.Persistence.TestKit.Tests/Akka.Persistence.TestKit.Tests.csproj

-3
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,4 @@
2323
<ProjectReference Include="..\Akka.Tests.Shared.Internals\Akka.Tests.Shared.Internals.csproj" />
2424
</ItemGroup>
2525

26-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
27-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
28-
</PropertyGroup>
2926
</Project>

src/core/Akka.Persistence.TestKit.Xunit2/Akka.Persistence.TestKit.Xunit2.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@
1515
<ProjectReference Include="..\Akka.TestKit\Akka.TestKit.csproj" />
1616
</ItemGroup>
1717

18-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
19-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
20-
</PropertyGroup>
21-
2218
<PropertyGroup>
2319
<!-- WORKAROUND: for some reason starting at Akka.NET 1.3.2 this package was determined as "unpackable" by default via DOTNET CLI -->
2420
<IsPackable>true</IsPackable>

src/core/Akka.Persistence.TestKit/Akka.Persistence.TestKit.csproj

-4
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@
1919
<ProjectReference Include="..\Akka.TestKit\Akka.TestKit.csproj" />
2020
</ItemGroup>
2121

22-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
23-
<DefineConstants>$(DefineConstants);RELEASE</DefineConstants>
24-
</PropertyGroup>
25-
2622
<PropertyGroup>
2723
<!-- WORKAROUND: for some reason starting at Akka.NET 1.3.2 this package was determined as "unpackable" by default via DOTNET CLI -->
2824
<IsPackable>true</IsPackable>

0 commit comments

Comments
 (0)