---
id: change/bcapps/11013
type: change
title: "#11013 Remove 43 unused DotNet alias declarations"
summary: Removed 43 unused DotNet alias declarations from the DotNet Aliases app that had no consumers anywhere in the repository, reducing total declarations from 517 to 474.
tier: official
language: en
tags:
  - refactor
  - main
  - bc30
system: integration
review:
  state: reviewed
  by: opus
  at: "2026-10-08T02:06:09.832Z"
  flags: []
generated:
  at: "2026-10-08T01:26:53.141Z"
  pipeline: 0.2.0
  prompts:
    extract-change: 1
  input_hash: 95ff23b4e17cfa0cedfc411a37ac9f989bb7fc18
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/pull/11013
    title: "microsoft/BCApps#11013: Remove 43 unused DotNet alias declarations"
    date: "2026-09-07"
    commit: 95ff23b4e17cfa0cedfc411a37ac9f989bb7fc18
    t: null
    quote: Over time it accumulated alias declarations that nothing consumes.
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
  changes: []
number: 11013
repo: microsoft/BCApps
source_id: bcapps-prs
url: https://github.com/microsoft/BCApps/pull/11013
kind: pr
base_branch: main
major: "30"
merged_at: "2026-09-07T14:42:51Z"
author: darjoo
author_type: User
community_contribution: false
labels:
  - "AL: System Application"
  - "Team: Integrations"
change_class: code
change_kind: refactor
behavior_change: false
breaking: false
files:
  count: 1
  additions: 0
  deletions: 168
  al: 1
apps: []
objects_touched: []
objects_unjoined:
  - path: src/System Application/App/DotNet Aliases/src/dotnet.al
    status: modified
    reason: not-in-snapshot
obsoletions: []
backports: []
fixes_issues: []
work_items:
  - 647963
systems:
  - integration
  - development
quote: Over time it accumulated alias declarations that nothing consumes.
joined_against:
  major: "30"
  commit: f18567dc08e2bd162bf192e1da4d714b57eb099f
---

# #11013 Remove 43 unused DotNet alias declarations

> Removed 43 unused DotNet alias declarations from the DotNet Aliases app that had no consumers anywhere in the repository, reducing total declarations from 517 to 474.

[Pull request](https://github.com/microsoft/BCApps/pull/11013) · merged into `main` (BC30) on 2026-09-07 by darjoo · 1 file (+0 -168), 1 AL · refactor · tier official · reviewed (checked by Opus)

## What changed

- Deleted 43 unused type declarations across 6 assemblies (DocumentFormat.OpenXml, netstandard, System.Security.Cryptography.Xml, MimeKit, MailKit, System.Drawing.Common)
- All 49 assembly blocks retained and verified to be non-empty after deletion
- Changes limited to a single file (dotnet.al) with 168 deletions and 0 insertions
- No external extensions can consume these aliases because DotNet interop requires OnPrem target while partners target Cloud
- Zero-usage scan performed across all 36,684 AL files to confirm none of the 43 aliases were referenced

## AL objects touched

- `src/System Application/App/DotNet Aliases/src/dotnet.al`: modified, not in the BC30 snapshot

## Context

- Work items: AB#647963
- Labels: AL: System Application, Team: Integrations
- Systems: integration, development
- From the description: "Over time it accumulated alias declarations that nothing consumes."

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).
