Where in WLD to save DLLs generated from VS?
Author: tomphm
Creation Date: 8/12/2020 9:22 PM
profile picture

tomphm

#1
Eugene,

Where in WLD to save DLLs generated from Visual Studio for debugging purpose? With WLP, I have the DLLs saved to the folder "C:\Program Files\Fidelity Investments\Wealth-Lab Pro 6" and WLP can find it, when clicked on "Open Strategy" icon of WLP. However, with WLD, the mentioned steps does not work. Thanks.
profile picture

Cone

#2
1. Right click VS and "Run as Administrator"
2. In VS, select Debug Mode.
3. Open the project's Properties and click on the Build item
4. Point the Output section to C:\Program Files\MS123\Wealth-Lab Developer 6
5. Close Wealth-Lab
6. Build (F6). Your dll will be added to the folder in step 4. If the Build fails, make sure you did steps 1 and 5.
7. Start Wealth-Lab
profile picture

Eugene

#3
Made a couple of edits and updated paths in the KB article:

How can I debug my trading strategies in Wealth-Lab?
profile picture

tomphm

#4
Thank you Cone and Eugene.
profile picture

tomphm

#5
I followed the steps from Cone on post #2 and the dll was added to the folder and loaded into WLD correctly. However, when WLD re-start, it crashes within 1 minute. WLD keep crashing after I try to re-start it multiple times.

During the 1st re-starting of WLD right after the build, I was prompted to update several extensions. I am now not sure if the crash was caused by that from post #2 or from those extensions that just being updated or from something else. Is there a log file contains information about the WLD crash that I can look at? Thanks.
profile picture

Eugene

#6
1. Repair your WLD installation from Windows Control Panel > Programs. It's advisable to delete all files in the installation folder since you're a developer.

2. After that, open your project in VS. In the References section of your project, review all Wealth-Lab DLLs referenced and change every one of them that points to your Wealth-Lab Pro installation folder, to the same DLL file in WL Developer folder. Namely WealthLab.dll which appears to be copied over from WLP. Doing so will cause the crash within 1 minute.
profile picture

tomphm

#7
That works. I might have spot something like this if not rush to get WLD working. Thanks Eugene.
profile picture

Eugene

#8
Glad to see you're up and running again!
This website uses cookies to improve your experience. We'll assume you're ok with that, but you can opt-out if you wish (Read more).