Error C1900: il mismatch between 'P1' and 'P2'? Static library and UE4 are built using same version of VS 2017

Hi, I’m getting the following error:

Error	C1900	Il mismatch between 'P1' version '20161212' and 'P2' version '20150812'	TheTable	C:\Users\\Documents\Unreal Projects\03_BuildingEscape\TheTable\Intermediate\ProjectFiles\EXEC	1	

I’ve done some googling and it seems this error usually comes from the fact that static library and ue4 are built using different version of Visual Studio. However I am building both, on the same computer, with the same VS 2017. Does anyone know how to fix this issue?

Any help would be appreciated!

This issue was fixed by using Visual Studio 2015 update 3 to build the static library and the UE4 project