
Adding Custom Functoids to Visual Studio
Custom functoids must be added to the Visual Studio Toolbox before they can be used in a map. Use the following procedure to add custom functoids.

To add a custom functoid
-
Add the functoid to the Visual Studio Toolbox.
-
Using Windows Explorer, find the assembly that implements your custom functoids.
-
Copy the assembly to the <BizTalk Server installation folder>\Developer Tools\Mapper Extensions directory. This is where BizTalk Mapper looks for custom functoids.
-
From a Visual Studio BizTalk project, on the Tools menu, click Choose Toolbox Items.
-
In the Choose Toolbox items dialog box, click the Functoids tab.
-
Click Reset, and then click OK. This process may take a few moments.
Your custom functoids should now appear in the Toolbox under tabs matching their category.
- OR -
-
From a Visual Studio BizTalk project, on the Tools menu, click Choose Toolbox Items.
-
In the Choose Toolbox items dialog box, click the Functoids tab.
-
Click Reset, and then click OK.
Note |
|---|
|
If your custom functoid does not expose any inline code, make sure its assembly is made available in the global assembly cache.
|
-
On the File menu, click Exit to close Visual Studio.
-
Click Start, point to All Programs, point to Microsoft Visual Studio 2008, point to Visual Studio Tools, and then click Visual Studio 2008 Command Prompt.
-
At the command prompt, type devenv /setup.
-
Click Start, point to All Programs, point to Microsoft Visual Studio 2008, and then click Microsoft Visual Studio 2008.
The custom functoid(s) should appear in the appropriate tab.
-
Add the assembly to the global assembly cache. If your assembly contains only inline functoids, then you can skip this step.
-
Click Start, point to All Programs, point to Microsoft Visual Studio 2008, point to Visual Studio Tools, and then click Visual Studio 2008 Command Prompt.
-
Switch to the folder containing your assembly.
-
At the command prompt, type gacutil /if <assembly_path >. For example, if your assembly name is FunctoidLibrary.dll, then type gacutil /if FunctoidLibrary.dll.
-
When you are finished, type exit.