Skip to content

Commit b004933

Browse files
author
juanonsoftware
committed
Make migration projects support both framework net462 and netstandard20
1 parent 550f199 commit b004933

48 files changed

Lines changed: 195 additions & 697 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
17.5 KB
Binary file not shown.
7.21 KB
Binary file not shown.

.nuget/MiniProfiler.Integrations.MySql/Package.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>MiniProfiler.Integrations.MySql</id>
5-
<version>2.5.0</version>
5+
<version>2.5.1</version>
66
<title>MiniProfiler.Integrations.MySql</title>
77
<authors>RabbitSoftware</authors>
88
<owners>juniho</owners>
Binary file not shown.

.nuget/MiniProfiler.Integrations.MySql/lib/netstandard2.0/MiniProfiler.Integrations.MySql.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.nuget/MiniProfiler.Integrations/Package.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<package >
33
<metadata>
44
<id>MiniProfiler.Integrations</id>
5-
<version>2.5.0</version>
5+
<version>2.5.1</version>
66
<title>MiniProfiler.Integrations</title>
77
<authors>RabbitSoftware</authors>
88
<owners>juniho</owners>

.nuget/MiniProfiler.Integrations/lib/net462/MiniProfiler.Integrations.XML

Lines changed: 15 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
55
<RootNamespace>MiniProfiler.Integrations</RootNamespace>
66
<AssemblyName>MiniProfiler.Integrations</AssemblyName>
77
</PropertyGroup>
@@ -10,9 +10,17 @@
1010
<DocumentationFile>D:\Wip\Practices\Github\MiniProfiler.Integrations\MiniProfiler.Integrations-Migration\MiniProfiler.Integrations.xml</DocumentationFile>
1111
</PropertyGroup>
1212

13-
<ItemGroup>
13+
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
14+
<PackageReference Include="MiniProfiler" Version="4.2.1" />
15+
</ItemGroup>
16+
17+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1418
<PackageReference Include="MiniProfiler.AspNetCore" Version="4.2.1" />
1519
<PackageReference Include="System.Data.SqlClient" Version="4.8.2" />
1620
</ItemGroup>
1721

22+
<ItemGroup>
23+
<None Remove="MiniProfiler.Integrations.xml" />
24+
</ItemGroup>
25+
1826
</Project>

MiniProfiler.Integrations.MySql-Migration/MiniProfiler.Integrations.MySql-Migration.csproj

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netstandard2.0</TargetFramework>
4+
<TargetFrameworks>netstandard2.0;net462</TargetFrameworks>
55
<RootNamespace>MiniProfiler.Integrations.MySql</RootNamespace>
66
<AssemblyName>MiniProfiler.Integrations.MySql</AssemblyName>
77
</PropertyGroup>
88

9-
<ItemGroup>
9+
<PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Release|netstandard2.0|AnyCPU'">
10+
<DocumentationFile>D:\Wip\Practices\Github\MiniProfiler.Integrations\MiniProfiler.Integrations.MySql-Migration\MiniProfiler.Integrations.MySql.xml</DocumentationFile>
11+
</PropertyGroup>
12+
13+
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
14+
<PackageReference Include="MiniProfiler.Integrations" Version="2.4.0" />
15+
<PackageReference Include="MySql.Data" Version="8.0.21" />
16+
</ItemGroup>
17+
18+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
1019
<PackageReference Include="MiniProfiler.Integrations" Version="2.5.0" />
1120
<PackageReference Include="MySql.Data" Version="8.0.21" />
1221
</ItemGroup>

0 commit comments

Comments
 (0)