diff --git a/plist-cil/BinaryPropertyListParser.cs b/plist-cil/BinaryPropertyListParser.cs index 867bdcb..1c5539e 100644 --- a/plist-cil/BinaryPropertyListParser.cs +++ b/plist-cil/BinaryPropertyListParser.cs @@ -23,6 +23,7 @@ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. using System; +using System.Diagnostics; using System.Text; using System.IO; @@ -378,7 +379,7 @@ namespace Claunia.PropertyList } default: { - Console.WriteLine("WARNING: The given binary property list contains an object of unknown type (" + objType + ")"); + Debug.WriteLine("WARNING: The given binary property list contains an object of unknown type (" + objType + ")"); break; } } @@ -401,7 +402,7 @@ namespace Claunia.PropertyList int intType = (int_type & 0xF0) >> 4; if (intType != 0x1) { - Console.WriteLine("BinaryPropertyListParser: Length integer has an unexpected type" + intType + ". Attempting to parse anyway..."); + Debug.WriteLine("BinaryPropertyListParser: Length integer has an unexpected type" + intType + ". Attempting to parse anyway..."); } int intInfo = int_type & 0x0F; int intLength = (int)Math.Pow(2, intInfo); diff --git a/plist-cil/plist-cil.csproj b/plist-cil/plist-cil.csproj index 4eca673..e43e8ea 100644 --- a/plist-cil/plist-cil.csproj +++ b/plist-cil/plist-cil.csproj @@ -1,8 +1,8 @@  - netcoreapp1.0;net40 - 1.15.0 + netcoreapp1.0;netstandard1.3;netstandard1.6;net40;net45 + 1.15 Natalia Portillo Claunia.com MIT licensed C#/.NET parser and writer for Apple and GnuStep Property Lists, supporting ASCII, Binary and Xml formats, based on Java's dd-plist. @@ -18,6 +18,7 @@ plist-cil.snk True True + true @@ -28,8 +29,8 @@ TRACE;DEBUG - - NETCOREAPP1_0;NETCORE + + $(DefineConstants);NETCORE @@ -40,11 +41,27 @@ bin\Release\net40\plist-cil.xml - + + + + + + + + + + + + + + + + +