Usage in Visual Studio

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

Usage in Visual Studio

Usage via Assembly References

For Windows Forms projects targeting the full framework (4.x), you will find the ShellBrowser components in the "Jam Software" tab of the "ToolBox" in Visual Studio:

VSTooBox

 

When dragging a component from here to your form, a reference to the ShellBrowser assemblies is added automatically:

 

VSSolutionReferences

 

Note: If you are targeting .NET Core 3.1 or .NET 5.0, you will most likely not find the components in the ToolBox after installation. Please use the local NuGet packages instead.

Usage of the NuGet Packages

If your project is targeting .NET Core 3.1 or .NET 5.0, the ShellBrowser components will only be available in Visual Studio's toolbox if you reference the NuGet package.

Also for .NET 4.x you might prefer usage of the nuget-package over referencing the assembly.

 

To include ShellBrowser.NET nuget-packages to your project:

In Visual Studio configure NuGet packages for the project or the solution.

In the dialog select "ShellBrowser.NET packages" as NuGet source. It has automatically been added as package source during installation.

VSNuGetManager

Install both the ShellBrowser.Core and ShellBrowser.NET packages for the projects.

You should see the ShellBrowser components being added to the ToolBox in tab "ShellBrowser", and also see the references in Solution Explorer:

VSSolutionNuget

 

The ToolBox now dispays the components contained in the NuGet package:

 

VSToolBoxNuget

Use debug assemblies

Remove the ShellBrowser reference from your project, might the NuGet packages or assemblies be used.

Add new assembly references to the debug versions of <ShellBrowser.dll> and <ShellBrowser.Core.dll>.
By default they are located in <PROGRAM FILES>\JAM Software\ShellBrowser .NET Edition\debug.

VSSolutionAssemblyRef

Note, that depending on the configuration of your project, ShellBrowser might appear in section "References" or "Assemblies".