Execute C# Bug

Status
Not open for further replies.

ThatVoipGuy

Customer
Joined
Jun 23, 2023
Messages
3
Reaction score
3
I've found a pretty hilarious bug, and I've tried my best to fix it; however, no matter what I do, the CFD builds in old cached code that was included inside of one of my attempts to write some C# Code.

When I hit build, there are no errors, when I go to upload the Call Flow, however, it always gives me an error with the same code that doesn't exist in the call flow.

Steps I've tried to resolve the issue;

  1. Removed the entire component from the build.
  2. Rebuilt the entire component from scratch.
  3. Saved into a new directory and rebuilt.
  4. Changed the extension.
This issue can be resolved by simply opening up the error within the 3cx portal and deleting the lines of code that should not exist. Once I hit save, it instantly successfully builds and applies the updated application.

Just reporting this bug here in hopes this gets fixed. Pretty annoying to work with the CFD now that this exists permanently in every build I attempt with this core call flow. If anyone has any tips to resolve this that doesn't involve starting from scratch, I am down to try!
 
Hello,
When I hit build, there are no errors, when I go to upload the Call Flow, however, it always gives me an error with the same code that doesn't exist in the call flow.
please do us a favor and send us your example here.
 
Are you including a C# file from the Libraries folder in your CFD project? Please note that ANY *.cs file that you put there, will be included. Even if you don't reference it from the CFD app. This is in order to allow having reusable functions, which you call from other C# scripts. Please check this, you might need to remove an unused file from this folder.
 
@edossantos That was it!! Even though I deleted it, the library remained in that folder. You're amazing. Thank you so much!
 
  • Like
Reactions: edossantos
Status
Not open for further replies.

Forum statistics

Threads
111,956
Messages
589,928
Members
164,860
Latest member
maxpcc