Skip to content

[Bug]: NextMajor (v28) fails when downloading dependencies from NuGet-feed #2145

@peterelmqvist

Description

@peterelmqvist

AL-Go version

8.2

Describe the issue

When we run NextMajor (v28) and we have a dependency which is fetch from a trustedNuGetFeed we get an error saying "The property 'ServerInstance' cannot be found on this object. Verify that the property exists."

Expected behavior

Expect that the dependency should be downloaded an published to the environment.

Steps to reproduce

I've done a clear repro of this.

  • Create a new repository from the AL-Go Template

  • Run Create new app

  • Run Test Next Major - Success

  • Add trustedNuGetFeed
    "trustedNuGetFeeds": [ { "url": "https://nuget.pkg.github.com/directions4partners/index.json" } ]

  • Add a dependency
    { "id": "e33746ef-a796-46ca-8a1a-fb3840a42c48", "name": "Cloud Customer Management Solution", "publisher": "Directions for partners", "version": "0.0.2.0" }

  • Run Test Next Major - Fails

Additional context (logs, screenshots, etc.)

I've done the repo in a public repository.
https://github.com/peterelmqvist/Test-NuGetDependency

Metadata

Metadata

Assignees

Labels

Fix ReadyFix ReadyShippedFeature is included in the latest versionbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions