Error installing developer tools from NuGet
When I try to install the beta package from https://www.nuget.org/packages/Microsoft.Dynamics.BusinessCentral.Development.Tools/15.0.17.43318-beta I get an error.
Depending on the method used I get an different error:
- Using NuGet CLI, I get an error over a missing dependency "Microsoft.Dynamics.Nav.Xrm.Common"
.\nuget.exe install Microsoft.Dynamics.BusinessCentral.Development.Tools -outputDirectory . -PreRelease -directDownload
`
- Using dotnet tools I get an error about an invalid DotnetToolSettings.xml file
dotnet tool install Microsoft.Dynamics.BusinessCentral.Development.Tools --prerelease --global
Internal work item: AB#554312
@SBalslev could you please take a look?
@PatrickSchiefer Just released 15.0.17.63223-beta: https://www.nuget.org/packages/Microsoft.Dynamics.BusinessCentral.Development.Tools/15.0.17.63223-beta
Can you give that a spin?
Seems issue still existing : Attempting to resolve dependencies for package 'Microsoft.Dynamics.BusinessCentral.Development.Tools.15.0.17.63223-beta' with DependencyBehavior 'Lowest' nuget.exe : Unable to resolve dependency 'Microsoft.Dynamics.Nav.Xrm.Common'. Source(s) used: 'nuget.org'.
Any idea of delay to solve it ?
Let's try one more time :) 15.0.18.19684-beta
Seems still error existing, xith same error : nuget.exe : Unable to resolve dependency 'Microsoft.Dynamics.Nav.Xrm.Common'. Source(s) used: 'nuget.org'.
Still not working for me either, is this XRM Common package somewhere available?
Any new about that issue ?
The tools have been split up into 4 packages. Tools, Tools.Osx, Tools.Linux and a Tools.Altpgen The last one is still marked as a dotnettool so it will fail installation until this afternoon when it will be reduced to a dependency.
It is still not possible to add this nuget package to a c# project as a (dev) dependency (e.g. for easier development of analyzers). I can install it as a global tool, but I can't install it as a nuget package in my c# project because it doesn't find the dependent nuget package: "Microsoft.Dynamics.Nav.Xrm.Common"
I tried the Microsoft.Dynamics.BusinessCentral.Development.Tools and the Microsoft.Dynamics.BusinessCentral.Development.Tools.Altpgen package. Same errors.
dotnet add package Microsoft.Dynamics.BusinessCentral.Development.Tools.Altpgen --version 16.0.22.52049-beta
...
[NU1101: Unable to find package Microsoft.Dynamics.Nav.Xrm.Common. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, local, Microsoft Visual Studio Offline Packages, nuget.org](error: NU1101: Unable to find package Microsoft.Dynamics.Nav.Xrm.Common. No packages exist with this id in source(s): C:\Program Files\dotnet\library-packs, local, Microsoft Visual Studio Offline Packages, nuget.org)
...
Hi, I'm also having issues with this in latest 16.0.23.34358-beta version.
@Noruka @dannoe the file is in the latest package - in order to add the dependency you must target net8.0-windows.
You can also just unzip the nuget package and use the altpgen.exe tool there.