Skip to content

Commit d07bbdf

Browse files
committed
Simplify package references and frameworks
1 parent e4f5d13 commit d07bbdf

File tree

2 files changed

+29
-44
lines changed

2 files changed

+29
-44
lines changed
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;net5.0;net6.0</TargetFrameworks>
5-
<AssemblyName>MongoFramework.Profiling.MiniProfiler</AssemblyName>
6-
<Title>MiniProfiler for MongoFramework</Title>
7-
<Description>MongoFramework integration for MiniProfiler</Description>
8-
<PackageTags>miniprofiler;performance;$(PackageBaseTags)</PackageTags>
9-
<Authors>James Turner</Authors>
10-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
5+
<AssemblyName>MongoFramework.Profiling.MiniProfiler</AssemblyName>
6+
<Title>MiniProfiler for MongoFramework</Title>
7+
<Description>MongoFramework integration for MiniProfiler</Description>
8+
<PackageTags>miniprofiler;profiler;profiling;timing;performance;$(PackageBaseTags)</PackageTags>
9+
<Authors>James Turner</Authors>
10+
</PropertyGroup>
1111

12-
<ItemGroup>
13-
<PackageReference Include="MiniProfiler.Shared" Version="4.2.22" />
14-
</ItemGroup>
12+
<ItemGroup>
13+
<PackageReference Include="MiniProfiler.Shared" Version="4.2.22" />
14+
</ItemGroup>
1515

16-
<ItemGroup>
17-
<ProjectReference Include="..\MongoFramework\MongoFramework.csproj" />
18-
</ItemGroup>
16+
<ItemGroup>
17+
<ProjectReference Include="..\MongoFramework\MongoFramework.csproj" />
18+
</ItemGroup>
1919

2020
</Project>
Lines changed: 15 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,20 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

3-
<PropertyGroup>
4-
<TargetFrameworks>netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
5-
<AssemblyName>MongoFramework</AssemblyName>
6-
<Title>MongoFramework</Title>
7-
<Description>An "Entity Framework"-like interface for the MongoDB C# Driver</Description>
8-
<PackageTags>$(PackageBaseTags)</PackageTags>
9-
<Authors>James Turner</Authors>
10-
</PropertyGroup>
3+
<PropertyGroup>
4+
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
5+
<AssemblyName>MongoFramework</AssemblyName>
6+
<Title>MongoFramework</Title>
7+
<Description>An "Entity Framework"-like interface for the MongoDB C# Driver</Description>
8+
<PackageTags>$(PackageBaseTags)</PackageTags>
9+
<Authors>James Turner</Authors>
10+
</PropertyGroup>
1111

12-
<ItemGroup>
13-
<PackageReference Include="MongoDB.Driver" Version="2.14.1" />
14-
</ItemGroup>
15-
16-
<Choose>
17-
<When Condition=" '$(TargetFramework)' == 'netstandard2.0' ">
18-
<ItemGroup>
19-
<PackageReference Include="System.ComponentModel.Annotations" Version="4.7.0" />
20-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="4.7.0" />
21-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
22-
<PackageReference Include="System.Linq.Async" Version="4.1.1" />
23-
</ItemGroup>
24-
</When>
25-
<Otherwise>
26-
<ItemGroup>
27-
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
28-
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
29-
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
30-
<PackageReference Include="System.Linq.Async" Version="5.1.0" />
31-
</ItemGroup>
32-
</Otherwise>
33-
</Choose>
12+
<ItemGroup>
13+
<PackageReference Include="MongoDB.Driver" Version="2.14.1" />
14+
<PackageReference Include="System.ComponentModel.Annotations" Version="5.0.0" />
15+
<PackageReference Include="System.Configuration.ConfigurationManager" Version="6.0.0" />
16+
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
17+
<PackageReference Include="System.Linq.Async" Version="5.1.0" />
18+
</ItemGroup>
3419

3520
</Project>

0 commit comments

Comments
 (0)