Make sure that your web form inherits WorkflowPage in order to implement a web form. For this, you need to have WorkflowGen.My referenced in your project.
To directly reference an assembly in your web project:
bindirectory under your web site root folder (e.g.:
WorkflowGen.My.dllfile to this folder.
Right-click on your project name and choose Add reference…
Navigate to the
bindirectory you just created and choose the
WorkflowGen.My.dllfile, then click OK.
WorkflowGen.My is now referenced in your project.
You can also put this assembly in your GAC (Global Assembly Cache) in order to have only one centralized reference, instead of referring a copy of the assembly in each web form project.
To install the assembly in your GAC:
Open a command prompt
DRIVE:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin.
Type the command
gacutil /i c:\windows\system32\WorkflowGen.My.dlland press Enter.
WorkflowGen.My is now in your GAC.
Now that the assembly is placed in the GAC, you need to reference it in your project. To do this:
Insert the following line in the assemblies node:
<ADD assembly=WorkflowGen.My,Version=2.0.1000.xx,Culture=neutral,PublicKeyToken=df70d2b8f21e0354 />
Version=2.0.1000.xxabove with the version number of your WorkflowGen.My. You can find the version number by right-clicking on
WorkflowGen.My.dllthen clicking on Properties.