diff --git a/Log.cs b/Log.cs index 67ef964..180aa3e 100644 --- a/Log.cs +++ b/Log.cs @@ -200,7 +200,7 @@ namespace lib m_errorStream = new FileStream( filename + ".error", FileMode.Append, FileAccess.Write ); m_errorWriter = new StreamWriter( m_errorStream ); - Debug.Listeners.Add( this ); + //Debug.Listeners.Add( this ); string msg = "\n==============================================================================\nLogfile " + filename + " startup at " + DateTime.Now.ToString(); @@ -297,6 +297,7 @@ namespace lib //Console.WriteLine( finalMsg ); //Console.Out.Write( finalMsg ); + /* foreach( var l_obj in Debug.Listeners ) { var l = l_obj as TraceListener; @@ -305,6 +306,7 @@ namespace lib l.WriteLine( finalMsg ); } } + */ m_writer.WriteLine( finalMsg ); diff --git a/Properties/AssemblyInfo.cs b/Properties/AssemblyInfo.cs deleted file mode 100644 index 6c7d80d..0000000 --- a/Properties/AssemblyInfo.cs +++ /dev/null @@ -1,36 +0,0 @@ -using System.Reflection; -using System.Runtime.CompilerServices; -using System.Runtime.InteropServices; - -// General Information about an assembly is controlled through the following -// set of attributes. Change these attribute values to modify the information -// associated with an assembly. -[assembly: AssemblyTitle( "Common" )] -[assembly: AssemblyDescription( "" )] -[assembly: AssemblyConfiguration( "" )] -[assembly: AssemblyCompany( "Allusion Studio, Inc" )] -[assembly: AssemblyProduct( "Common" )] -[assembly: AssemblyCopyright( "Copyright © Allusion Studio, Inc 2008" )] -[assembly: AssemblyTrademark( "" )] -[assembly: AssemblyCulture( "" )] - -// Setting ComVisible to false makes the types in this assembly not visible -// to COM components. If you need to access a type in this assembly from -// COM, set the ComVisible attribute to true on that type. -[assembly: ComVisible( false )] - -// The following GUID is for the ID of the typelib if this project is exposed to COM -[assembly: Guid( "fbc724c2-ea86-47cf-ae0b-f15e11ba6701" )] - -// Version information for an assembly consists of the following four values: -// -// Major Version -// Minor Version -// Build Number -// Revision -// -// You can specify all the values or you can default the Build and Revision Numbers -// by using the '*' as shown below: -// [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion( "1.0.0.0" )] -[assembly: AssemblyFileVersion( "1.0.0.0" )] diff --git a/SharpLib.csproj b/SharpLib.csproj index 48c49cf..c281455 100644 --- a/SharpLib.csproj +++ b/SharpLib.csproj @@ -1,165 +1,29 @@ - - + + - Debug - AnyCPU - 10.0.20506 - 2.0 - {DED134FC-C282-49C9-BA02-3CE6257E91FC} - Library - Properties + + netcoreapp2.0; + net462; + netstandard2.0; + lib - SharpLib - v4.6.2 - 512 - - - - - 3.5 - - - - - true - full - false - bin\Debug\ - DEBUG;TRACE - prompt - 4 - AnyCPU + 0.0.1.0 + 0.0.1.0 + 2019+ Marc Hernandez + A core set of libraries + AnyCPU;x64 + true true - On - false - latest - - - pdbonly - true - bin\Release\ - TRACE - prompt - 4 - false + - - - ..\..\packages\System.Buffers.4.4.0\lib\netstandard2.0\System.Buffers.dll - - - ..\..\packages\System.Collections.Immutable.1.6.0-preview3.19128.7\lib\netstandard2.0\System.Collections.Immutable.dll - - - 3.5 - - - ..\..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll - - - - ..\..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll - - - ..\..\packages\System.Runtime.CompilerServices.Unsafe.4.5.2\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll - - - 3.0 - - - - 3.5 - - - 3.5 - - - + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - - - - - \ No newline at end of file + + + diff --git a/SharpLib.csproj.old b/SharpLib.csproj.old new file mode 100644 index 0000000..fb814ae --- /dev/null +++ b/SharpLib.csproj.old @@ -0,0 +1,164 @@ + + + + Debug + AnyCPU + 10.0.20506 + 2.0 + {DED134FC-C282-49C9-BA02-3CE6257E91FC} + Library + Properties + lib + SharpLib + v4.6.2 + 512 + + + + + 3.5 + + + + + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + AnyCPU + true + On + false + latest + + + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + false + true + + + + + ..\..\packages\System.Buffers.4.5.0\lib\netstandard2.0\System.Buffers.dll + + + 3.5 + + + ..\..\packages\System.Memory.4.5.3\lib\netstandard2.0\System.Memory.dll + + + + ..\..\packages\System.Numerics.Vectors.4.4.0\lib\net46\System.Numerics.Vectors.dll + + + ..\..\packages\System.Runtime.CompilerServices.Unsafe.4.6.0\lib\netstandard2.0\System.Runtime.CompilerServices.Unsafe.dll + + + 3.0 + + + + 3.5 + + + 3.5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/SharpLib.sln b/SharpLib.sln deleted file mode 100644 index 49408e4..0000000 --- a/SharpLib.sln +++ /dev/null @@ -1,20 +0,0 @@ - -Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 2012 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SharpLib", "SharpLib.csproj", "{DED134FC-C282-49C9-BA02-3CE6257E91FC}" -EndProject -Global - GlobalSection(SolutionConfigurationPlatforms) = preSolution - Debug|Any CPU = Debug|Any CPU - Release|Any CPU = Release|Any CPU - EndGlobalSection - GlobalSection(ProjectConfigurationPlatforms) = postSolution - {DED134FC-C282-49C9-BA02-3CE6257E91FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {DED134FC-C282-49C9-BA02-3CE6257E91FC}.Debug|Any CPU.Build.0 = Debug|Any CPU - {DED134FC-C282-49C9-BA02-3CE6257E91FC}.Release|Any CPU.ActiveCfg = Release|Any CPU - {DED134FC-C282-49C9-BA02-3CE6257E91FC}.Release|Any CPU.Build.0 = Release|Any CPU - EndGlobalSection - GlobalSection(SolutionProperties) = preSolution - HideSolutionNode = FALSE - EndGlobalSection -EndGlobal diff --git a/UpgradeLog.XML b/UpgradeLog.XML deleted file mode 100644 index 70a8c8b..0000000 Binary files a/UpgradeLog.XML and /dev/null differ diff --git a/UpgradeLog.htm b/UpgradeLog.htm deleted file mode 100644 index 0cbd10f..0000000 Binary files a/UpgradeLog.htm and /dev/null differ diff --git a/XmlFormatter.cs b/XmlFormatter.cs index a1dd373..371b8ca 100644 --- a/XmlFormatter.cs +++ b/XmlFormatter.cs @@ -2,7 +2,7 @@ using System; using System.IO; using System.Xml; using System.Runtime.Serialization; -using System.Web.Configuration; +//using System.Web.Configuration; using System.Collections; using System.Collections.Generic; @@ -20,15 +20,16 @@ namespace lib class XmlFormatter : IFormatter { StreamingContext m_context; - SerializationMode m_mode; + //SerializationMode m_mode; //KnownTypeCollection known_types; - IDataContractSurrogate m_surrogate; + //IDataContractSurrogate m_surrogate; //int m_maxItems; public XmlFormatter() { } + /* public XmlFormatter( SerializationMode mode ) { m_mode = mode; @@ -45,6 +46,7 @@ namespace lib m_mode = mode; m_context = context; } + */ //public XmlFormatter (SerializationMode mode, // StreamingContext context, KnownTypeCollection knownTypes) @@ -69,11 +71,6 @@ namespace lib set { m_context = value; } } - public IDataContractSurrogate DataContractSurrogate - { - get { return m_surrogate; } - set { m_surrogate = value; } - } /* public KnownTypeCollection KnownTypes { @@ -86,10 +83,6 @@ namespace lib } */ - public SerializationMode Mode - { - get { return m_mode; } - } object IFormatter.Deserialize( Stream stream ) { diff --git a/XmlFormatter2.cs b/XmlFormatter2.cs index de25803..a446b1c 100644 --- a/XmlFormatter2.cs +++ b/XmlFormatter2.cs @@ -2,7 +2,7 @@ using System.IO; using System.Xml; using System.Runtime.Serialization; -using System.Web.Configuration; +//using System.Web.Configuration; using System.Collections; using System.Collections.Generic; diff --git a/packages.config b/packages.config deleted file mode 100644 index 62ec3fc..0000000 --- a/packages.config +++ /dev/null @@ -1,8 +0,0 @@ - - - - - - - - \ No newline at end of file