updated samples; deprecated config.targetFramework