Book Update and FAQ


How to run the example project in Visual Studio 2017?

The examples accompanied with the book were built and tested on Visual Studio 2013, so it is the best to run the sample code on the same platform. However, you may get the following error messages when you try to run the example project in Visual Studio 2017:

The task factory 'CodeTaskFactory' could not be loaded from the assembly 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Tasks.v15.0.dll'. Could not load file or assembly 'file:///C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\MSBuild\15.0\Bin\Microsoft.Build.Tasks.v15.0.dll' or one of its dependencies. The system cannot find the file specified.

This is because Microsft has renamed the file Microsoft.Build.Tasks.v15.0.dll to Microsoft.Build.Tasks.core.dll in Visual Studio 2017. To resolve this issue, simply go to that folder and make a copy of Microsoft.Build.Tasks.core.dll and rename this copied file to Microsoft.Build.Tasks.v15.0.dll. You can then compile and run the project on Visual Studio 2017.

Why some of market data APIs do not work when running the example project?

Yahoo, Google, and other market data providers have discontinued or changed their market data API services, so the free market data APIs described in the book may not work any more. Please note that these free market data APIs cannot be assumed stable, and might break any time. So use it at your own risk.

Recently, I updated the free market data APIs in my eBook Free Market Data APIs for Quantitative Finance with ASP.NET Core. You can download the example code for updated market data APIs from Github repository.