Failed to load connector configuration error when updating connectors
Summary
Running a connector update command from the console application
when no connectors are installed results in a Failed to load connector configuration
error, followed by a successfully updated to message.
Steps to reproduce
With no connectors installed, using 0.13.0 of sequence run:
.\sequence.exe connector update --prerelease Reductech.Sequence.Connectors.StructuredData
Current Behavior
ERROR Failed to load connector configuration 'Reductech.Sequence.Connectors.StructuredData' from 'C:\builds\reductech\sequence\console\lib\connectors\Reductech.Sequence.Connectors.StructuredData\0.13.0'. Exception: System.InvalidOperationException: Dependency resolution failed for component C:\builds\reductech\sequence\console\lib\connectors\Reductech.Sequence.Connectors.StructuredData\0.13.0\Reductech.Sequence.Connectors.StructuredData.dll with error code -2147450734. Detailed error: Failed to locate managed application [C:\builds\reductech\sequence\console\lib\connectors\Reductech.Sequence.Connectors.StructuredData\0.13.0\Reductech.Sequence.Connectors.StructuredData.dll]
...
2022/02/07 10:48:22.987 Connector configuration 'Reductech.Sequence.Connectors.StructuredData' successfully updated to '0.14.0-a.main.2202070510'.
Expected Behaviour
No error, just a successful update.