Skip to content

Commit 177f62e

Browse files
committed
Added support for .NET 4.5
1 parent 99d4069 commit 177f62e

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

DiscordRPC/DiscordRPC.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project Sdk="Microsoft.NET.Sdk" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard2.0</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0;net45</TargetFrameworks>
44
<NuspecFile>DiscordRPC.nuspec</NuspecFile>
55
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
66
<PublishRepositoryUrl>true</PublishRepositoryUrl>

DiscordRPC/DiscordRPC.nuspec

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,21 +18,27 @@ This is an unoffical, non-discord supported library.
1818
<license type="expression">MIT</license>
1919
<projectUrl>https://github.com/Lachee/discord-rpc-csharp</projectUrl>
2020
<requireLicenseAcceptance>false</requireLicenseAcceptance>
21-
<copyright>Copyright (c) Lachee 2018</copyright>
2221
<releaseNotes></releaseNotes>
2322
<tags>Discord Discord Rich Presence RPC Discord-RPC</tags>
2423

2524
<dependencies>
2625
<group targetFramework="netstandard2.0">
27-
<dependency id="Newtonsoft.Json" version="12.0.2" />
26+
<dependency id="Newtonsoft.Json" version="13.0.1" />
2827
<dependency id="Microsoft.Win32.Registry" version="4.5.0" />
2928
</group>
29+
<group targetFramework="net45">
30+
<dependency id="Newtonsoft.Json" version="13.0.1" />
31+
</group>
3032
</dependencies>
3133
</metadata>
3234

3335
<files>
3436
<file src="./bin/Release/netstandard2.0/DiscordRPC.dll" target="lib\netstandard2.0" />
3537
<file src="./bin/Release/netstandard2.0/DiscordRPC.pdb" target="lib\netstandard2.0" />
3638
<file src="./bin/Release/netstandard2.0/DiscordRPC.xml" target="lib\netstandard2.0" />
39+
40+
<file src="./bin/Release/net45/DiscordRPC.dll" target="lib\net45" />
41+
<file src="./bin/Release/net45/DiscordRPC.pdb" target="lib\net45" />
42+
<file src="./bin/Release/net45/DiscordRPC.xml" target="lib\net45" />
3743
</files>
3844
</package>

0 commit comments

Comments
 (0)