Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit ca179d0

Browse files
authored
excise markdownmail from net6 target in nuget.services.messaging.email (#397)
1 parent 5ed3024 commit ca179d0

3 files changed

Lines changed: 24 additions & 4 deletions

File tree

src/NuGet.Services.Contracts/NuGet.Services.Contracts.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks>net472;netstandard2.1</TargetFrameworks>
55
<Description>Interfaces used for NuGet services</Description>
66
</PropertyGroup>
77

src/NuGet.Services.Messaging.Email/NuGet.Services.Messaging.Email.csproj

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,21 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net6</TargetFrameworks>
4+
<TargetFrameworks>net472;netstandard2.1</TargetFrameworks>
55
<Description>Components shared between the front-end and back-end concerning email messaging</Description>
66
</PropertyGroup>
77

8+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
9+
<Compile Remove=".\CoreMarkdownMessageService.cs" />
10+
</ItemGroup>
11+
812
<ItemGroup>
913
<PackageReference Include="Markdig.Signed">
1014
<Version>0.30.2</Version>
1115
</PackageReference>
16+
</ItemGroup>
17+
18+
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
1219
<PackageReference Include="NuGet.StrongName.AnglicanGeek.MarkdownMailer">
1320
<Version>1.2.0</Version>
1421
</PackageReference>

src/NuGet.Services.Messaging/NuGet.Services.Messaging.csproj

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,31 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net472;net6</TargetFrameworks>
4+
<TargetFrameworks>net472;netstandard2.1</TargetFrameworks>
55
<Description>Logic shared between the front-end and back-end concerning asynchronous messaging</Description>
66
</PropertyGroup>
77

8-
<ItemGroup>
8+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
9+
<Compile Remove=".\ServiceBusMessageSerializer.cs" />
10+
</ItemGroup>
11+
12+
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
913
<PackageReference Include="Microsoft.Extensions.Logging">
1014
<Version>2.2.0</Version>
1115
</PackageReference>
1216
</ItemGroup>
1317

18+
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.1'">
19+
<PackageReference Include="Microsoft.Extensions.Logging">
20+
<Version>7.0.0-preview.5.22301.12</Version>
21+
</PackageReference>
22+
</ItemGroup>
23+
1424
<ItemGroup>
1525
<ProjectReference Include="..\NuGet.Services.Contracts\NuGet.Services.Contracts.csproj" />
26+
</ItemGroup>
27+
28+
<ItemGroup Condition="'$(TargetFramework)' == 'net472'">
1629
<ProjectReference Include="..\NuGet.Services.ServiceBus\NuGet.Services.ServiceBus.csproj" />
1730
</ItemGroup>
1831

0 commit comments

Comments
 (0)