Set target framework in all situations