I'm running into problems in getting VS2008 Express set up to use as my debugging environment as well. I've been attempting to follow Dion's tutorial and, without benefit of significant programming experience, I'm stumped on what I'm supposed to be doing. Obviously this is user error, but I've read every bit of the Wiki and past forum answers that I could find and no use yet.
Here's what I've done so far.
* created a new project
* added the WealthLab assembly
* within it, I've created two classes, named VSStrategy and VSStrategyHelper. The code is as follows (adapted from one of Cone's earlier posts):
CODE:
Please log in to see this code.
* Changed the output path to the WLP install directory
* made a duplicate of the "WLPLibrary1.csproj" file in "WLPLibrary1.csproj.user", replaced the code to look like:
CODE:
Please log in to see this code.
When I try to run this code as is, I get
QUOTE:
Error 1 'WealthLab.Strategies.VSStrategy' does not implement inherited abstract member 'WealthLab.WealthScript.Execute()' I:\My Documents\Visual Studio 2008\Projects\WLPLibrary1\WLPLibrary1\Class2.cs 9 18 WLPLibrary1
as my error message. Actually I'm not even certain if I'm supposed to define these classes in every strategy I create, or if I'm supposed to run them, or keep them within the same project as other strategies I create.
I'm getting one other minor error when I try to add a "using WealthLab.Indicators" and presumably other using statements. My questions are (in order of big picture to details):
(1) At a high level, how are the pieces supposed to fit together in VS debugging approach? That is, am I supposed to build a library within VS2008 including a bunch of WLP methods and classes, have VS point to WLP, or otherwise? If I choose not to copy-paste the compiled code into the WLP editor and instead run from VS, will the strategies be stored within the VS directories or the WLP?
(2) If I want to have access to all the technical indicators that exist within WLP, do I need to do anything besides the "using WealthLab"? Will it recognize other "using" statements or do I need to copy a number of DLLs or other files to a directory?
(3) Does there need to be a fresh MyStrategy and MyStrategyHelper class for every strategy? Does it need to include the author, date created, etc...?
Thanks in advance.