Skip to content

Commit

Permalink
Update project files and add netstandard
Browse files Browse the repository at this point in the history
  • Loading branch information
lukespragg committed Mar 3, 2020
1 parent 8f79433 commit 7879c7f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -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
Expand Down
5 changes: 1 addition & 4 deletions nuget.config
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<config>
<add key="globalPackagesFolder" value="packages" />
</config>
<packageRestore>
<add key="enabled" value="True" />
<add key="automatic" value="True" />
Expand All @@ -11,6 +8,6 @@
<add key="All" value="(Aggregate source)" />
</activePackageSource>
<packageSources>
<add key="Oxide" value="https://www.myget.org/f/oxide" />
<add key="Oxide" value="https://www.myget.org/f/oxide/api/v3/index.json" />
</packageSources>
</configuration>
7 changes: 4 additions & 3 deletions src/Oxide.CSharp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,22 @@
<PropertyGroup>
<Version>2.0.0</Version>
<AssemblyName>Oxide.CSharp</AssemblyName>
<Authors>Oxide and Contributors</Authors>
<Authors>Oxide Team and Contributors</Authors>
<Copyright>(c) 2013-$([System.DateTime]::Now.Year) $(Authors)</Copyright>
<Description>C#/CSharp (.cs) plugin support for the Oxide modding framework</Description>
<RepositoryUrl>https://github.com/OxideMod/Oxide.CSharp</RepositoryUrl>
<PackageIconUrl>icon.png</PackageIconUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>$(RepositoryUrl)</PackageProjectUrl>
<TargetFrameworks>net35;net40;net45;net46</TargetFrameworks>
<TargetFrameworks>net35;net40;net45;net46;netstandard2.0;netstandard2.1</TargetFrameworks>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<NoWarn>NU1701</NoWarn>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Oxide.Core" Version="2.0.*" />
<PackageReference Include="Oxide.References" Version="2.0.*">
<PrivateAssets>contentfiles;analyzers;build</PrivateAssets>
</PackageReference>
<PackageReference Include="Oxide.Core" Version="2.0.*" />
<None Include="..\resources\icon.png" Pack="true" PackagePath="\" />
</ItemGroup>
<Import Project="Sdk.targets" Sdk="Microsoft.NET.Sdk" />
Expand Down
1 change: 0 additions & 1 deletion src/PluginCompiler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7879c7f

Please sign in to comment.