From 7879c7fcb1b8de448bfab037da2deb545776c894 Mon Sep 17 00:00:00 2001 From: Luke Spragg Date: Mon, 2 Mar 2020 20:32:36 -0500 Subject: [PATCH] Update project files and add netstandard --- LICENSE | 2 +- nuget.config | 5 +---- src/Oxide.CSharp.csproj | 7 ++++--- src/PluginCompiler.cs | 1 - 4 files changed, 6 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 4950b60..325d072 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ The MIT License (MIT) -Copyright (c) 2013-2020 Oxide and Contributors +Copyright (c) 2013-2020 Oxide Team and Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/nuget.config b/nuget.config index 9098939..ccd38aa 100644 --- a/nuget.config +++ b/nuget.config @@ -1,8 +1,5 @@  - - - @@ -11,6 +8,6 @@ - + diff --git a/src/Oxide.CSharp.csproj b/src/Oxide.CSharp.csproj index 46c5bbf..c1652e4 100644 --- a/src/Oxide.CSharp.csproj +++ b/src/Oxide.CSharp.csproj @@ -5,21 +5,22 @@ 2.0.0 Oxide.CSharp - Oxide and Contributors + Oxide Team and Contributors (c) 2013-$([System.DateTime]::Now.Year) $(Authors) C#/CSharp (.cs) plugin support for the Oxide modding framework https://github.com/OxideMod/Oxide.CSharp icon.png MIT $(RepositoryUrl) - net35;net40;net45;net46 + net35;net40;net45;net46;netstandard2.0;netstandard2.1 True + NU1701 + contentfiles;analyzers;build - diff --git a/src/PluginCompiler.cs b/src/PluginCompiler.cs index a2c4703..b0ff81b 100644 --- a/src/PluginCompiler.cs +++ b/src/PluginCompiler.cs @@ -634,7 +634,6 @@ private static class Algorithms public static readonly HashAlgorithm SHA256 = new SHA256Managed(); public static readonly HashAlgorithm SHA384 = new SHA384Managed(); public static readonly HashAlgorithm SHA512 = new SHA512Managed(); - public static readonly HashAlgorithm RIPEMD160 = new RIPEMD160Managed(); } private static string GetHash(string filePath, HashAlgorithm algorithm)