From d9c31dace889f59a829158258b5fd09282ccedf5 Mon Sep 17 00:00:00 2001 From: Adam Hathcock Date: Fri, 12 Jun 2015 11:31:04 +0100 Subject: [PATCH] Fixing lingering build issues --- SharpCompress/AssemblyInfo.cs | 14 ++++++-------- SharpCompress/Common/ReaderExtractionEventArgs.cs | 8 ++------ SharpCompress/SharpCompress.Portable.csproj | 7 ++++++- SharpCompress/SharpCompress.PortableTest.csproj | 3 +-- SharpCompress/SharpCompress.WindowsStore.csproj | 5 ++++- 5 files changed, 19 insertions(+), 18 deletions(-) diff --git a/SharpCompress/AssemblyInfo.cs b/SharpCompress/AssemblyInfo.cs index adab8935..e6a12407 100644 --- a/SharpCompress/AssemblyInfo.cs +++ b/SharpCompress/AssemblyInfo.cs @@ -2,6 +2,7 @@ using System.Reflection; using System.Runtime.CompilerServices; + #if PORTABLE [assembly: AssemblyTitle("SharpCompress.Portable")] [assembly: AssemblyProduct("SharpCompress.Portable")] @@ -9,14 +10,11 @@ using System.Runtime.CompilerServices; [assembly: AssemblyTitle("SharpCompress")] [assembly: AssemblyProduct("SharpCompress")] -[assembly: - InternalsVisibleTo( - "SharpCompress.Test" - )] -[assembly: -InternalsVisibleTo( - "SharpCompress.Test.Portable" - )] +#endif + +#if !NET2 && !PORTABLE && !NETFX_CORE +[assembly: InternalsVisibleTo("SharpCompress.Test")] +[assembly: InternalsVisibleTo("SharpCompress.Test.Portable")] #endif [assembly: CLSCompliant(true)] diff --git a/SharpCompress/Common/ReaderExtractionEventArgs.cs b/SharpCompress/Common/ReaderExtractionEventArgs.cs index 1820c49b..2dc33e6e 100644 --- a/SharpCompress/Common/ReaderExtractionEventArgs.cs +++ b/SharpCompress/Common/ReaderExtractionEventArgs.cs @@ -1,17 +1,13 @@ using System; -using System.Collections.Generic; -using System.ComponentModel; -using System.Linq; -using System.Text; namespace SharpCompress.Common { - public class ReaderExtractionEventArgs:EventArgs + public class ReaderExtractionEventArgs : EventArgs { internal ReaderExtractionEventArgs(T entry) { Item = entry; - } + } public T Item { get; private set; } } } diff --git a/SharpCompress/SharpCompress.Portable.csproj b/SharpCompress/SharpCompress.Portable.csproj index ead5b9b9..240c14ad 100644 --- a/SharpCompress/SharpCompress.Portable.csproj +++ b/SharpCompress/SharpCompress.Portable.csproj @@ -128,6 +128,7 @@ + @@ -147,6 +148,7 @@ + @@ -154,7 +156,7 @@ - + @@ -297,6 +299,9 @@ + + Code + diff --git a/SharpCompress/SharpCompress.PortableTest.csproj b/SharpCompress/SharpCompress.PortableTest.csproj index f31799e3..4cc0ed70 100644 --- a/SharpCompress/SharpCompress.PortableTest.csproj +++ b/SharpCompress/SharpCompress.PortableTest.csproj @@ -91,7 +91,6 @@ - @@ -398,4 +397,4 @@ --> - + \ No newline at end of file diff --git a/SharpCompress/SharpCompress.WindowsStore.csproj b/SharpCompress/SharpCompress.WindowsStore.csproj index 974b4ceb..0dbb616c 100644 --- a/SharpCompress/SharpCompress.WindowsStore.csproj +++ b/SharpCompress/SharpCompress.WindowsStore.csproj @@ -114,6 +114,7 @@ + @@ -138,8 +139,9 @@ + - + @@ -284,6 +286,7 @@ +