Skip to content

Microsoft.Dynamics.BusinessCentral.Development.Tools.Linux v17.x fails to install via dotnet tool install #8242

@StefanMaron

Description

@StefanMaron

Describe the issue

All v17.x versions of the Microsoft.Dynamics.BusinessCentral.Development.Tools.Linux NuGet package fail to install as a .NET global tool on Linux. v16.x installs and works fine.

Since v17 is the latest stable version, running dotnet tool install -g Microsoft.Dynamics.BusinessCentral.Development.Tools.Linux without a version pin now fails by default.

Steps to reproduce

# Clean Ubuntu 24.04 with .NET 9 SDK
dotnet tool install -g Microsoft.Dynamics.BusinessCentral.Development.Tools.Linux

Actual result

.NET 9 SDK (9.0.313):

Unhandled exception: Could not find a part of the path
'/root/.dotnet/tools/.store/microsoft.dynamics.businesscentral.development.tools.linux/17.0.34.45391/microsoft.dynamics.businesscentral.development.tools.linux/17.0.34.45391/tools'.

.NET 10 SDK (10.0.104):

Package microsoft.dynamics.businesscentral.development.tools.linux is not a .NET tool.

Expected result

The tool installs successfully, as it does with --version '16.*'.

Versions tested

Package version .NET 9 .NET 10
17.0.34.45391 Crash: missing path "not a .NET tool"
17.0.33.55542 Crash: missing path "not a .NET tool"
16.2.28.57946 Works Works

Environment

  • OS: Ubuntu 24.04 (amd64)
  • Also reproduced in mcr.microsoft.com/devcontainers/base:ubuntu-24.04 Docker container

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions