ABP Error: The breakpoint will not currently be hit. No symbols have been loaded for this document.

November 05 · 1 min read

When we need to use an ABP module in a project, we know that a reference to that module needs to be added in the .csproj file of the relevant project.

Here’s an example of adding reference to a HttpApi.Client module in a Web project:

<Project Sdk="Microsoft.NET.Sdk.Web">
  <PropertyGroup>
    <RootNamespace>...Web</RootNamespace>
    ...
  </PropertyGroup>
  <ItemGroup>
    <ProjectReference Include="..\src\<...>HttpApi.Client\<...>HttpApi.Client.csproj" />
    ...
  </ItemGroup>
</Project>

That part we remember.

But we might forget that we also need to add the module in the [DependsOn] attribute of the relevant project.

ABP: Add the module in the `[DependsOn]` attribute of the relevant project .

Forgetting that will result to the following error when running the relevant project in debug mode.

ABP Error: The breakpoint will not currently be hit. No symbols have been loaded for this document.

Buy Me A Coffee