function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vinny Gebhart 10Vinny Gebhart 10 

Deploying metadata via Eclipse / Force.com IDE - Property 'valueSet' not valid in version 37.0

Trying to deploy metadata objects via Force.com IDE / Eclipse.  Getting an aerror that property 'ValueSet' cannot be deployed because its not valid in API 37.  How do I sepecify whcih version of the API Eclipse uses for deployments?
NagendraNagendra (Salesforce Developers) 
Hi Vinny,

Please find an example below how to specify API Eclipse version for deployment.


2down voteManually edit the version at the end of your package.xml to change it from 30.0 to 33.0:
<package>
    <version>33.0</version>
</package>
and try the deploy again.

This value defaults to the version of the IDE but can be changed.
(There is a new version of the Force.com IDE that probably does set this value automatically to 33.0 -
see https://developer.salesforce.com/page/Force.com_IDE.)

Mark this as solved if it's resolved.

Best Regards,
Nagendra.P