It seems there's a bug in Optimizely CMS 12. Steps to reproduce:
Tested on EpiFoundation project https://github.com/episerver/Foundation , here's the list of packages versions: https://github.com/episerver/Foundation/blob/453664fc2bb3d915f55e270cd34135e814fdf627/src/Foundation/Foundation.csproj
It seems there's a bug in Optimizely CMS 12. Steps to reproduce:
Tested on EpiFoundation project https://github.com/episerver/Foundation , here's the list of packages versions: https://github.com/episerver/Foundation/blob/453664fc2bb3d915f55e270cd34135e814fdf627/src/Foundation/Foundation.csproj