Support Board
Date/Time: Tue, 13 May 2025 14:16:38 +0000
Post From: VS2022: Pre/Post Build Events DLL Issue
[2024-06-25 00:39:46] |
ondafringe - Posts: 322 |
Ok, it took me awhile to figure out what was going on. And just to update this, not that anyone else will find themselves in this situation. Once you use VS, you *can* go back to building within SC. 1. Click Analysis > Studies and remove your VS-Created study from the list 2. Click Analysis > Build Custom Studies DLL > Build > Release All DLLs and Deny Load 3. Delete all four files (VS creates 4 files) associated with your DLL from the SierraChart\Data\ folder. 4. Click Analysis > Build Custom Studies DLL > Build > Allow Load DLLs 5. Rebuild your study from within SC 6. Click Analysis > Studies and re-add your study Once you do all that, you should now be able to build using SC again the way you usually do. ======================================================== Even though I can't get my Pre-Build Event script to release the DLL for update, what I could do is: 1. Step #2, above 2. Build my study from within VS 3. Step #4, above 4. Analysis > Studies > OK ========================================================= At least I now have options. :) Oh, I did notice something different about the two different DLLs: The one created by VS was name.dll, but the one created by SC was name_64.dll. Apparently, that doesn't make any difference. Date Time Of Last Edit: 2024-06-25 17:24:30
|