From 6fdca883edb80e3cdc6aa106ebbfd0df9fcfd802 Mon Sep 17 00:00:00 2001 From: snugs Date: Mon, 27 Apr 2015 20:30:37 -0400 Subject: [PATCH] Adds SharedAssemblyInfo to common This allows all projects to use the same version number which is used to see if jobs are the same version as the node to process them --- Algorithm/Properties/AssemblyInfo.cs | 19 +++++++++---------- Algorithm/QuantConnect.Algorithm.csproj | 3 +++ AlgorithmFactory/Properties/AssemblyInfo.cs | 19 +++++++++---------- .../QuantConnect.AlgorithmFactory.csproj | 3 +++ Api/Properties/AssemblyInfo.cs | 19 +++++++++---------- Api/QuantConnect.Api.csproj | 3 +++ Brokerages/Properties/AssemblyInfo.cs | 19 +++++++++---------- Brokerages/QuantConnect.Brokerages.csproj | 3 +++ Common/Packets/AlgorithmNodePacket.cs | 5 ++--- Common/Properties/AssemblyInfo.cs | 19 +++++++++---------- Common/Properties/SharedAssemblyInfo.cs | 13 +++++++++++++ Common/QuantConnect.csproj | 1 + Compression/Properties/AssemblyInfo.cs | 19 +++++++++---------- Compression/QuantConnect.Compression.csproj | 3 +++ Configuration/Properties/AssemblyInfo.cs | 19 +++++++++---------- .../QuantConnect.Configuration.csproj | 3 +++ Engine/Engine.cs | 7 +++---- Engine/Properties/AssemblyInfo.cs | 18 +++++++++--------- Engine/QuantConnect.Lean.Engine.csproj | 3 +++ Indicators/Properties/AssemblyInfo.cs | 19 +++++++++---------- Indicators/QuantConnect.Indicators.csproj | 3 +++ Interfaces/Properties/AssemblyInfo.cs | 19 +++++++++---------- Interfaces/QuantConnect.Interfaces.csproj | 3 +++ Logging/Properties/AssemblyInfo.cs | 19 +++++++++---------- Logging/QuantConnect.Logging.csproj | 3 +++ Messaging/Properties/AssemblyInfo.cs | 18 +++++++++--------- Messaging/QuantConnect.Messaging.csproj | 3 +++ Queues/Properties/AssemblyInfo.cs | 19 +++++++++---------- Queues/QuantConnect.Queues.csproj | 3 +++ Tests/Properties/AssemblyInfo.cs | 17 ++++++++--------- Tests/QuantConnect.Tests.csproj | 3 +++ 31 files changed, 183 insertions(+), 144 deletions(-) create mode 100644 Common/Properties/SharedAssemblyInfo.cs diff --git a/Algorithm/Properties/AssemblyInfo.cs b/Algorithm/Properties/AssemblyInfo.cs index b920af96613f..0b4013fffaa6 100644 --- a/Algorithm/Properties/AssemblyInfo.cs +++ b/Algorithm/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("QuantConnect.Server.Algorithm")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("QuantConnect.Server.Algorithm")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Algorithm")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Algorithm")] +//[assembly: AssemblyCopyright("Copyright © 2015")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Algorithm/QuantConnect.Algorithm.csproj b/Algorithm/QuantConnect.Algorithm.csproj index 2de75839860c..5dc6c3f16738 100644 --- a/Algorithm/QuantConnect.Algorithm.csproj +++ b/Algorithm/QuantConnect.Algorithm.csproj @@ -74,6 +74,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/AlgorithmFactory/Properties/AssemblyInfo.cs b/AlgorithmFactory/Properties/AssemblyInfo.cs index 539e14c39bcd..a9a2d0e811d7 100644 --- a/AlgorithmFactory/Properties/AssemblyInfo.cs +++ b/AlgorithmFactory/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("Loader")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Loader")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.AlgorithmFactory")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("Loader")] +//[assembly: AssemblyCopyright("Copyright © 2015")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj index 3550379bc31d..5fc16d444a1a 100644 --- a/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj +++ b/AlgorithmFactory/QuantConnect.AlgorithmFactory.csproj @@ -40,6 +40,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Api/Properties/AssemblyInfo.cs b/Api/Properties/AssemblyInfo.cs index d8af5f977806..2cc211078e92 100644 --- a/Api/Properties/AssemblyInfo.cs +++ b/Api/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("QuantConnect.API")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("QuantConnect.API")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Api")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Api")] +//[assembly: AssemblyCopyright("Copyright © 2015")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Api/QuantConnect.Api.csproj b/Api/QuantConnect.Api.csproj index 90fe791b3eb3..2fb93d80830e 100644 --- a/Api/QuantConnect.Api.csproj +++ b/Api/QuantConnect.Api.csproj @@ -92,6 +92,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Brokerages/Properties/AssemblyInfo.cs b/Brokerages/Properties/AssemblyInfo.cs index 980775c1bb2c..63523c1bd8fd 100644 --- a/Brokerages/Properties/AssemblyInfo.cs +++ b/Brokerages/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("Brokerages")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Brokerages")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Brokerages")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Brokerages")] +//[assembly: AssemblyCopyright("Copyright © 2015")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Brokerages/QuantConnect.Brokerages.csproj b/Brokerages/QuantConnect.Brokerages.csproj index fedc32d6869e..c856cf80dda3 100644 --- a/Brokerages/QuantConnect.Brokerages.csproj +++ b/Brokerages/QuantConnect.Brokerages.csproj @@ -57,6 +57,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Common/Packets/AlgorithmNodePacket.cs b/Common/Packets/AlgorithmNodePacket.cs index e4aa2ba317a2..41f07d82842f 100644 --- a/Common/Packets/AlgorithmNodePacket.cs +++ b/Common/Packets/AlgorithmNodePacket.cs @@ -101,8 +101,8 @@ public string AlgorithmId /// /// Version number identifier for the lean engine. /// - [JsonProperty(PropertyName = "dtVersion")] - public DateTime Version; + [JsonProperty(PropertyName = "sVersion")] + public string Version; /// /// An algorithm packet which has already been run and is being redelivered on this node. @@ -152,7 +152,6 @@ public string AlgorithmId /// [JsonProperty(PropertyName = "eRealTimeEndpoint")] public RealTimeEndpoint RealTimeEndpoint = RealTimeEndpoint.Backtesting; - } // End Node Packet: } // End of Namespace: diff --git a/Common/Properties/AssemblyInfo.cs b/Common/Properties/AssemblyInfo.cs index ce7b6fc1f299..f36ea32705d4 100644 --- a/Common/Properties/AssemblyInfo.cs +++ b/Common/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("qc.common")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("qc.common")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Common")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Common")] +//[assembly: AssemblyCopyright("Copyright © 2015")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Common/Properties/SharedAssemblyInfo.cs b/Common/Properties/SharedAssemblyInfo.cs new file mode 100644 index 000000000000..bc38809cee26 --- /dev/null +++ b/Common/Properties/SharedAssemblyInfo.cs @@ -0,0 +1,13 @@ +using System.Reflection; + +// common assembly attributes +[assembly: AssemblyDescription("Part of the QuantConnect product.")] +[assembly: AssemblyCopyright("Copyright © 2015")] +[assembly: AssemblyCompany("QuantConnect")] +[assembly: AssemblyTrademark("QuantConnect")] +[assembly: AssemblyVersion("2.1.0.1")] +#if DEBUG + [assembly: AssemblyConfiguration("Debug")] +#else + [assembly: AssemblyConfiguration("Release")] +#endif \ No newline at end of file diff --git a/Common/QuantConnect.csproj b/Common/QuantConnect.csproj index 6c6894b29121..50798dfb5d2e 100644 --- a/Common/QuantConnect.csproj +++ b/Common/QuantConnect.csproj @@ -128,6 +128,7 @@ + diff --git a/Compression/Properties/AssemblyInfo.cs b/Compression/Properties/AssemblyInfo.cs index aaf634030ea3..723c1148ab34 100644 --- a/Compression/Properties/AssemblyInfo.cs +++ b/Compression/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("Compression")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Compression")] -[assembly: AssemblyCopyright("Copyright © 2015")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Compression")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Compression")] +//[assembly: AssemblyCopyright("Copyright © 2015")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Compression/QuantConnect.Compression.csproj b/Compression/QuantConnect.Compression.csproj index 0aa15ac3afcc..d012c4c753b9 100644 --- a/Compression/QuantConnect.Compression.csproj +++ b/Compression/QuantConnect.Compression.csproj @@ -50,6 +50,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Configuration/Properties/AssemblyInfo.cs b/Configuration/Properties/AssemblyInfo.cs index 54ea498b6166..af08a964ec53 100644 --- a/Configuration/Properties/AssemblyInfo.cs +++ b/Configuration/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("QuantConnect.Config")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("QuantConnect.Config")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Configuration")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Configuration")] +//[assembly: AssemblyCopyright("Copyright © 2014")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Configuration/QuantConnect.Configuration.csproj b/Configuration/QuantConnect.Configuration.csproj index 7c3971226cb6..37504bee6e83 100644 --- a/Configuration/QuantConnect.Configuration.csproj +++ b/Configuration/QuantConnect.Configuration.csproj @@ -49,6 +49,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Engine/Engine.cs b/Engine/Engine.cs index 6aab3d430757..f647c521c0a9 100644 --- a/Engine/Engine.cs +++ b/Engine/Engine.cs @@ -56,7 +56,7 @@ public class Engine *********************************************************/ private static bool _liveMode = Config.GetBool("live-mode"); private static bool _local = Config.GetBool("local"); - private static DateTime _version; + private static readonly string _version = System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString(); private static IBrokerage _brokerage; private const string _collapseMessage = "Unhandled exception breaking past controls and causing collapse of algorithm node. This is likely a memory leak of an external dependency or the underlying OS terminating the LEAN engine."; @@ -119,7 +119,7 @@ public static IBrokerage Brokerage /// Version of the engine that is running. This is required for retiring old processing /// and live trading nodes during live trading. /// - public static DateTime Version + public static string Version { get { return _version; } } @@ -188,7 +188,6 @@ public static void Main(string[] args) var algorithm = default(IAlgorithm); var startTime = DateTime.Now; Log.LogHandler = Composer.Instance.GetExportedValueByTypeName(Config.Get("log-handler", "CompositeLogHandler")); - _version = DateTime.ParseExact(Config.Get("version", DateTime.Now.ToString(DateFormat.UI)), DateFormat.UI, CultureInfo.InvariantCulture); #if DEBUG mode = "DEBUG"; @@ -240,7 +239,7 @@ public static void Main(string[] args) //-> Pull job from QuantConnect job queue, or, pull local build: job = JobQueue.NextJob(out algorithmPath); // Blocking. - if (!IsLocal && LiveMode && (job.Version < Version || (job.Version == Version && job.Redelivered))) + if (!IsLocal && LiveMode && (job.Version != Version || (job.Version == Version && job.Redelivered))) { //Tiny chance there was an uncontrolled collapse of a server, resulting in an old user task circulating. //In this event kill the old algorithm and leave a message so the user can later review. diff --git a/Engine/Properties/AssemblyInfo.cs b/Engine/Properties/AssemblyInfo.cs index 4e6cab57ddb2..8bee29597392 100644 --- a/Engine/Properties/AssemblyInfo.cs +++ b/Engine/Properties/AssemblyInfo.cs @@ -5,13 +5,13 @@ // 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("QuantConnect.Server.Algorithm.Worker")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("QuantConnect.Server.Algorithm.Worker")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Lean.Engine")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Lean.Engine")] +//[assembly: AssemblyCopyright("Copyright © 2012")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +32,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Engine/QuantConnect.Lean.Engine.csproj b/Engine/QuantConnect.Lean.Engine.csproj index 4bb87c1b13c0..b89bd427727c 100644 --- a/Engine/QuantConnect.Lean.Engine.csproj +++ b/Engine/QuantConnect.Lean.Engine.csproj @@ -121,6 +121,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Indicators/Properties/AssemblyInfo.cs b/Indicators/Properties/AssemblyInfo.cs index 577aa5b50a85..0d6e073734b4 100644 --- a/Indicators/Properties/AssemblyInfo.cs +++ b/Indicators/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("Indicators")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Indicators")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Indicators")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Indicators")] +//[assembly: AssemblyCopyright("Copyright © 2014")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Indicators/QuantConnect.Indicators.csproj b/Indicators/QuantConnect.Indicators.csproj index 839e62844144..ca9782008c34 100644 --- a/Indicators/QuantConnect.Indicators.csproj +++ b/Indicators/QuantConnect.Indicators.csproj @@ -45,6 +45,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Interfaces/Properties/AssemblyInfo.cs b/Interfaces/Properties/AssemblyInfo.cs index 358c82994fa3..95f5ebdc1528 100644 --- a/Interfaces/Properties/AssemblyInfo.cs +++ b/Interfaces/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("QuantConnect.Server.Algorithm.Interface")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("QuantConnect.Server.Algorithm.Interface")] -[assembly: AssemblyCopyright("Copyright © 2012")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Interfaces")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Interfaces")] +//[assembly: AssemblyCopyright("Copyright © 2012")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Interfaces/QuantConnect.Interfaces.csproj b/Interfaces/QuantConnect.Interfaces.csproj index 8a3b7ba666e0..9528bda6eb4f 100644 --- a/Interfaces/QuantConnect.Interfaces.csproj +++ b/Interfaces/QuantConnect.Interfaces.csproj @@ -74,6 +74,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Logging/Properties/AssemblyInfo.cs b/Logging/Properties/AssemblyInfo.cs index 599a7a12e6b6..d5fb177ba8b4 100644 --- a/Logging/Properties/AssemblyInfo.cs +++ b/Logging/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("qc.log")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("qc.log")] -[assembly: AssemblyCopyright("Copyright © 2013")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Logging")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Logging")] +//[assembly: AssemblyCopyright("Copyright © 2013")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Logging/QuantConnect.Logging.csproj b/Logging/QuantConnect.Logging.csproj index ac9a9daebf96..36b8303f6884 100644 --- a/Logging/QuantConnect.Logging.csproj +++ b/Logging/QuantConnect.Logging.csproj @@ -73,6 +73,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Messaging/Properties/AssemblyInfo.cs b/Messaging/Properties/AssemblyInfo.cs index 3844f9fa1000..20823f3dc0bf 100644 --- a/Messaging/Properties/AssemblyInfo.cs +++ b/Messaging/Properties/AssemblyInfo.cs @@ -4,13 +4,13 @@ // 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("Messaging")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Messaging")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Messaging")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Messaging")] +//[assembly: AssemblyCopyright("Copyright © 2014")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -31,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Messaging/QuantConnect.Messaging.csproj b/Messaging/QuantConnect.Messaging.csproj index 096b823dbd5e..e8bad698e68e 100644 --- a/Messaging/QuantConnect.Messaging.csproj +++ b/Messaging/QuantConnect.Messaging.csproj @@ -40,6 +40,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Queues/Properties/AssemblyInfo.cs b/Queues/Properties/AssemblyInfo.cs index 2bb36d56b979..ce6f6ba7cedb 100644 --- a/Queues/Properties/AssemblyInfo.cs +++ b/Queues/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("Tasks")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("Tasks")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] +[assembly: AssemblyTitle("QuantConnect.Queues")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Queues")] +//[assembly: AssemblyCopyright("Copyright © 2014")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Queues/QuantConnect.Queues.csproj b/Queues/QuantConnect.Queues.csproj index 2e78debec3aa..5cf14e64a02b 100644 --- a/Queues/QuantConnect.Queues.csproj +++ b/Queues/QuantConnect.Queues.csproj @@ -44,6 +44,9 @@ + + Properties\SharedAssemblyInfo.cs + diff --git a/Tests/Properties/AssemblyInfo.cs b/Tests/Properties/AssemblyInfo.cs index 5e073fef14e9..724881e7ca38 100644 --- a/Tests/Properties/AssemblyInfo.cs +++ b/Tests/Properties/AssemblyInfo.cs @@ -1,17 +1,16 @@ 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("QuantConnect.Tests")] -[assembly: AssemblyDescription("")] -[assembly: AssemblyConfiguration("")] -[assembly: AssemblyCompany("")] -[assembly: AssemblyProduct("QuantConnect.Tests")] -[assembly: AssemblyCopyright("Copyright © 2014")] -[assembly: AssemblyTrademark("")] +//[assembly: AssemblyDescription("")] +//[assembly: AssemblyConfiguration("")] +//[assembly: AssemblyCompany("")] +//[assembly: AssemblyProduct("QuantConnect.Tests")] +//[assembly: AssemblyCopyright("Copyright © 2014")] +//[assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible @@ -32,5 +31,5 @@ // 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")] +//[assembly: AssemblyVersion("1.0.0.0")] +//[assembly: AssemblyFileVersion("1.0.0.0")] diff --git a/Tests/QuantConnect.Tests.csproj b/Tests/QuantConnect.Tests.csproj index 1971e34f586e..4d802f5c2f64 100644 --- a/Tests/QuantConnect.Tests.csproj +++ b/Tests/QuantConnect.Tests.csproj @@ -50,6 +50,9 @@ + + Properties\SharedAssemblyInfo.cs +