Hi,

I have been following the readme instructions on the Lean Github for Windows 10 installation. I have installed Visual Studio 2019, can see the nuget package manager inside it. Cloned Lean and fed the .sln file to Visual Studio. But while building I am getting errors for several .dll files and .exe files missing

10>------ Build started: Project: QuantConnect.Tests, Configuration: Debug Any CPU ------ 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2081,5): warning MSB3274: The primary reference "Accord, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2081,5): warning MSB3275: The primary reference "Accord.Math, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "Accord, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7" which was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2081,5): warning MSB3274: The primary reference "Accord.Math, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2081,5): warning MSB3274: The primary reference "Accord.Math.Core, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7, processorArchitecture=MSIL" could not be resolved because it was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". 10>C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\Microsoft.Common.CurrentVersion.targets(2081,5): warning MSB3275: The primary reference "Accord.Math, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7, processorArchitecture=MSIL" could not be resolved because it has an indirect dependency on the assembly "Accord.Math.Core, Version=3.6.0.0, Culture=neutral, PublicKeyToken=fa1a88e29555ccf7" which was built against the ".NETFramework,Version=v4.6.2" framework. This is a higher version than the currently targeted framework ".NETFramework,Version=v4.6.1". 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\Algorithm.CSharp\bin\Debug\QuantConnect.Algorithm.CSharp.dll' could not be found 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\Algorithm.Framework\bin\Debug\QuantConnect.Algorithm.Framework.dll' could not be found 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\Engine\bin\Debug\QuantConnect.Lean.Engine.dll' could not be found 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\Launcher\bin\Debug\QuantConnect.Lean.Launcher.exe' could not be found 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\Report\bin\Debug\QuantConnect.Report.exe' could not be found 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\Research\bin\Debug\QuantConnect.Research.dll' could not be found 10>CSC : error CS0006: Metadata file 'C:\Users\Abhishek\Documents\Python3 Scripts\Projects\Lean\ToolBox\bin\Debug\QuantConnect.ToolBox.exe' could not be found ========== Build: 0 succeeded, 8 failed, 11 up-to-date, 2 skipped ==========

 

Author