# Referencing Assemblies

URL: https://docs.wisej.com/docs/welcome/releases/whats-new-in-3.0/referencing-assemblies

## Class Libraries

When building class libraries that target .NET 6+, the assemblies that are referenced via NuGet will not be copied to the bin folder **unless** the following element is added to the library's **csproj** file:

```title
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
```

info
All referenced assemblies should be copied automatically in **.NET Framework** .

## Dynamic Assemblies

If a project or assembly reference is not used in the main Wisej.NET project, the referenced project's dependencies will not be loaded into the App Domain automatically.

info
In **.NET Framework** , any assembly referenced by the main Wisej.NET project would have it's dependencies loaded into the App Domain.

**For example:**

If you create a custom control library that implements a custom **Bubbles** notification that gets dynamically injected into the main Wisej.NET project, you will need to call **Application.LoadAssembly()** on **Wisej.Web.Ext.Bubbles** to load the custom library's dependency into the Wisej.NET project.
