EDS not compiled with EDC optimization, but the deployment is for an EDC enabled Decision Service

I'm trying to deploy a decision service with EDC connection and having the following error when deploying:

"<ServiceName> could not be deployed on localhost:8850/axis: Mismatch between EDS compilation type and Decision Service deployment type. EDS not compiled with EDC optimization, but the deployment is for an EDC enabled Decision Service."

What have i done:

On Developer Studio:

Project -> Package and deploy Decision Services, then saved it to an EDS file.