mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
Move libraries to .NET Standard, allowing Xamarin.macOS GUI to compile.
This commit is contained in:
@@ -10,7 +10,6 @@
|
|||||||
<AssemblyName>DiscImageChef.Checksums</AssemblyName>
|
<AssemblyName>DiscImageChef.Checksums</AssemblyName>
|
||||||
<ReleaseVersion>$(Version)</ReleaseVersion>
|
<ReleaseVersion>$(Version)</ReleaseVersion>
|
||||||
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
|
||||||
<TargetFramework>net461</TargetFramework>
|
|
||||||
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
<GenerateAssemblyInfo>true</GenerateAssemblyInfo>
|
||||||
<Version>4.5.99.1693</Version>
|
<Version>4.5.99.1693</Version>
|
||||||
<Company>Claunia.com</Company>
|
<Company>Claunia.com</Company>
|
||||||
@@ -18,6 +17,7 @@
|
|||||||
<Product>The Disc Image Chef</Product>
|
<Product>The Disc Image Chef</Product>
|
||||||
<Title>DiscImageChef.Checksums</Title>
|
<Title>DiscImageChef.Checksums</Title>
|
||||||
<ApplicationVersion>$(Version)</ApplicationVersion>
|
<ApplicationVersion>$(Version)</ApplicationVersion>
|
||||||
|
<TargetFrameworks>net461;netstandard2.0</TargetFrameworks>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<NrtRevisionFormat>$(Version)-{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>
|
<NrtRevisionFormat>$(Version)-{chash:8} built by {mname} in $(Configuration){!:, modified}</NrtRevisionFormat>
|
||||||
|
|||||||
@@ -30,6 +30,8 @@
|
|||||||
// Copyright © 2011-2018 Natalia Portillo
|
// Copyright © 2011-2018 Natalia Portillo
|
||||||
// ****************************************************************************/
|
// ****************************************************************************/
|
||||||
|
|
||||||
|
#if !NETSTANDARD2_0
|
||||||
|
|
||||||
using System.IO;
|
using System.IO;
|
||||||
using System.Security.Cryptography;
|
using System.Security.Cryptography;
|
||||||
using System.Text;
|
using System.Text;
|
||||||
@@ -152,4 +154,6 @@ namespace DiscImageChef.Checksums
|
|||||||
return Data(data, (uint)data.Length, out hash);
|
return Data(data, (uint)data.Length, out hash);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
Reference in New Issue
Block a user