Skip to content

Commit 7879c7f

Browse files
committed
Update project files and add netstandard
1 parent 8f79433 commit 7879c7f

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
The MIT License (MIT)
22

3-
Copyright (c) 2013-2020 Oxide and Contributors
3+
Copyright (c) 2013-2020 Oxide Team and Contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

nuget.config

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<configuration>
3-
<config>
4-
<add key="globalPackagesFolder" value="packages" />
5-
</config>
63
<packageRestore>
74
<add key="enabled" value="True" />
85
<add key="automatic" value="True" />
@@ -11,6 +8,6 @@
118
<add key="All" value="(Aggregate source)" />
129
</activePackageSource>
1310
<packageSources>
14-
<add key="Oxide" value="https://www.myget.org/f/oxide" />
11+
<add key="Oxide" value="https://www.myget.org/f/oxide/api/v3/index.json" />
1512
</packageSources>
1613
</configuration>

src/Oxide.CSharp.csproj

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,21 +5,22 @@
55
<PropertyGroup>
66
<Version>2.0.0</Version>
77
<AssemblyName>Oxide.CSharp</AssemblyName>
8-
<Authors>Oxide and Contributors</Authors>
8+
<Authors>Oxide Team and Contributors</Authors>
99
<Copyright>(c) 2013-$([System.DateTime]::Now.Year) $(Authors)</Copyright>
1010
<Description>C#/CSharp (.cs) plugin support for the Oxide modding framework</Description>
1111
<RepositoryUrl>https://github.com/OxideMod/Oxide.CSharp</RepositoryUrl>
1212
<PackageIconUrl>icon.png</PackageIconUrl>
1313
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1414
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
15-
<TargetFrameworks>net35;net40;net45;net46</TargetFrameworks>
15+
<TargetFrameworks>net35;net40;net45;net46;netstandard2.0;netstandard2.1</TargetFrameworks>
1616
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
17+
<NoWarn>NU1701</NoWarn>
1718
</PropertyGroup>
1819
<ItemGroup>
20+
<PackageReference Include="Oxide.Core" Version="2.0.*" />
1921
<PackageReference Include="Oxide.References" Version="2.0.*">
2022
<PrivateAssets>contentfiles;analyzers;build</PrivateAssets>
2123
</PackageReference>
22-
<PackageReference Include="Oxide.Core" Version="2.0.*" />
2324
<None Include="..\resources\icon.png" Pack="true" PackagePath="\" />
2425
</ItemGroup>
2526
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />

src/PluginCompiler.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -634,7 +634,6 @@ private static class Algorithms
634634
public static readonly HashAlgorithm SHA256 = new SHA256Managed();
635635
public static readonly HashAlgorithm SHA384 = new SHA384Managed();
636636
public static readonly HashAlgorithm SHA512 = new SHA512Managed();
637-
public static readonly HashAlgorithm RIPEMD160 = new RIPEMD160Managed();
638637
}
639638

640639
private static string GetHash(string filePath, HashAlgorithm algorithm)

0 commit comments

Comments
 (0)