Package & Deployment error: "Could Not Load Type..."
kbt173350
PRODUCTIssue
When trying use the Package & Deployment tool and you choose to create a package (K2DeploymentUtility.5.1010.1000.0.exe) you see the following error displayed when the button is clicked:
Could not load type 'SourceCode.Deployment.Management
This stops you from proceeding any further and the package and deployment process is then stopped.
Symptoms
The complete error message is as follows:
Could not load type 'SourceCode.Deployment.Management.ISession' from assembly 'SourceCode.Deployment.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=16a2c5aaaa1b130d'. at SourceCode.Deployment.Standalone.UIManagerAction.CreatePackage() at SourceCode.Deployment.Standalone.Launcher.<>c.b__7_0(UIManagerAction action) at SourceCode.Deployment.Standalone.Launcher.ExecuteButtonAction(Action`1 action)
Troubleshooting Steps
This error can be resolved by adding your IP address to our whitelist, you may contact K2 support to do this for you.
Another option is to install the latest version (s) of .netframework (4.7.2) onwards as well as this will have a bearing on if this works as expected or not.