Skip to content

Commit 9fc1bc1

Browse files
committed
Cleaned up csproj files by moving shared values to props file
1 parent 241becf commit 9fc1bc1

3 files changed

Lines changed: 20 additions & 31 deletions

File tree

CSRakowski.AsyncStreamsPreparations.Tests/CSRakowski.AsyncStreamsPreparations.Tests.csproj

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -9,20 +9,6 @@
99
<AssemblyName>CSRakowski.AsyncStreamsPreparations.Tests</AssemblyName>
1010
</PropertyGroup>
1111

12-
<PropertyGroup>
13-
<DebugSymbols>true</DebugSymbols>
14-
</PropertyGroup>
15-
16-
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
17-
<DebugType>full</DebugType>
18-
<Optimize>false</Optimize>
19-
</PropertyGroup>
20-
21-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
22-
<DebugType>pdbonly</DebugType>
23-
<Optimize>true</Optimize>
24-
</PropertyGroup>
25-
2612
<ItemGroup>
2713
<PackageReference Include="nunit" Version="3.13.3" />
2814
<PackageReference Include="NUnit3TestAdapter" Version="4.2.1">

CSRakowski.AsyncStreamsPreparations/CSRakowski.AsyncStreamsPreparations.csproj

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,9 @@
1919
<DefineConstants>$(DefineConstants);HAS_ASYNCENUMERABLE</DefineConstants>
2020
</PropertyGroup>
2121
<PropertyGroup>
22-
<DebugSymbols>true</DebugSymbols>
2322
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\CSRakowski.AsyncStreamsPreparations.xml</DocumentationFile>
2423
</PropertyGroup>
2524

26-
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
27-
<DebugType>full</DebugType>
28-
<Optimize>false</Optimize>
29-
</PropertyGroup>
30-
31-
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
32-
<DebugType>pdbonly</DebugType>
33-
<Optimize>true</Optimize>
34-
</PropertyGroup>
35-
3625
<ItemGroup Condition="'$(TargetFramework)' != 'netstandard2.1' and '$(TargetFramework)' != 'net50'">
3726
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
3827
</ItemGroup>

Directory.Build.props

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
<Project>
2-
<PropertyGroup>
3-
<Authors>Christiaan Rakowski</Authors>
4-
<Copyright>Christiaan Rakowski - 2018-2022</Copyright>
5-
<Version>1.4.1</Version>
6-
<LangVersion>latest</LangVersion>
7-
</PropertyGroup>
2+
<PropertyGroup>
3+
<Authors>Christiaan Rakowski</Authors>
4+
<Copyright>Christiaan Rakowski - 2018-2022</Copyright>
5+
<Version>1.4.1</Version>
6+
<LangVersion>latest</LangVersion>
7+
</PropertyGroup>
8+
9+
<PropertyGroup>
10+
<DebugSymbols>true</DebugSymbols>
11+
</PropertyGroup>
12+
13+
<PropertyGroup Condition=" '$(Configuration)' == 'Debug' ">
14+
<DebugType>full</DebugType>
15+
<Optimize>false</Optimize>
16+
</PropertyGroup>
17+
18+
<PropertyGroup Condition=" '$(Configuration)' == 'Release' ">
19+
<DebugType>pdbonly</DebugType>
20+
<Optimize>true</Optimize>
21+
</PropertyGroup>
822
</Project>

0 commit comments

Comments
 (0)