You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when trying to deploy it through the following command, I am getting the error. The command is
sfdx force:source:deploy -x manifest/package.xml
And the error I am getting is
ERROR running force:source:deploy: Unexpected file found in package directory: c:\salesforce\force-app\main\default\blacklistedConsumers\BlacklistedConsumer155969236210464.blacklistedConsumer-meta.xml
The thing is I am not even deploying what it is complaining about. And when I try to deploy it manually from VS Code, by right clicking on package.xml and choosing ‘SFDX: Deploy Source in Manifest to Org’, it works fine. Any pointers will greatly be appreciated
The text was updated successfully, but these errors were encountered:
Hi @WillieRuemmele, I haven't tried the new source beta but was able to find a workaround. Just added the following line in .forceignore file and didn't get the error any more
Hi, I am trying to deploy the following in package.xml. This is just a simple Apex Class
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <Package xmlns="http://soap.sforce.com/2006/04/metadata"> <types> <members>AA_SampleClass</members> <name>ApexClass</name> </types> <version>52.0</version> </Package>
But when trying to deploy it through the following command, I am getting the error. The command is
sfdx force:source:deploy -x manifest/package.xml
And the error I am getting is
ERROR running force:source:deploy: Unexpected file found in package directory: c:\salesforce\force-app\main\default\blacklistedConsumers\BlacklistedConsumer155969236210464.blacklistedConsumer-meta.xml
The thing is I am not even deploying what it is complaining about. And when I try to deploy it manually from VS Code, by right clicking on package.xml and choosing ‘SFDX: Deploy Source in Manifest to Org’, it works fine. Any pointers will greatly be appreciated
The text was updated successfully, but these errors were encountered: