I have a strange error with Exception “DirectoryNotFoundException”.
I’m using a “Deploy a package” step, on which I enabled the “Configuration transforms” option, and check the “Run default XML transforms”.
When I deploy to our ‘production’ environment, this results as an error.
The file in error is not intended to be transformed (despite this is a *.config file, it has no *.production.config or *.release.config associated).
Can anyone explain this behavior?
Could not transform the file ‘C:\Octopus\Applications\production\Website2011_Data\20200827.145540.0_1\App_Data\Sitefinity\Configuration_12.2.7221_migration\LibrariesConfig.contentViewControls.BackendUserFileLibraryDocuments.views.BackendUserFileDocumentsBackendBulkEditView.config’ using the pattern ‘production’.
September 3rd 2020 09:20:27
System.IO.DirectoryNotFoundException: Could not find a part of the path ‘C:\Octopus\Applications\production\Website2011_Data\20200827.145540.0_1\App_Data\Sitefinity\Configuration_12.2.7221_migration’.
If I used guided failure mode, the folder/file listed in the error exist.
When deploying to another environment (ex. ‘staging’), I have no error during transformation.
Your help would be appreciate to understand what I miss here / to unblock us.