Testing Server code in Visual Studio

Hi

In order to increase our developers' productivity, we're looking for ways to test server-side C# code before using it in process designer task script.

I've followed this guide: https://academy.creatio.com/documents/technic-sdk/7-15/developing-configuration-server-code-user-project

In the onsite scenario and after enabling file system mode and recompiling the application, I got this error message:

The "Default" workspace assembly is not initialized

 

PS: The second method worked well (Cloud Executor) but it didn't allow debugging which is cruicial for our developers.

Thank you

Mohamed

Like 0

Like

2 comments

Hi Mohamed,



I checked on my end - there is key missing in workspace arguments: confRuntimeParentDirectory. In this key you should specify path to [rootAppFolder]\Terrasoft.WebApp



For example:

-filename="C:\Users\D.Smishchenko\source\repos\ExecutorLibrary\ExecutorLibrary\bin\Debug\ExecutorLibrary.dll" -typeName=ExecutorLibrary.Executor -operation=ExecuteScript -workspaceName=Default -confRuntimeParentDirectory="C:\bpmonline\7.15.0.634_SalesEnterprise_Marketing_ServiceEnterprise_Softkey_MSSQL_ENU\Terrasoft.WebApp"



Thank you. We will transfer this to our academy team to include the changes.



Regards,

Dmytro

Dmytro Smishchenko,

Thanks! It's working now.

Show all comments