We use our private Artifacts Feed on Azure DevOps Server 2020.1 (on-prem). I get a feed MyFeed
and a feed MyFeedTest.
I use the MyFeedTest
for Staging our NuGet Packages. When they are stable, they get pushed to MyFeed. If a NuGet
package in the feed has a dependency on another NuGet
package in the feed, I use the following line:
<PackageReference Include="ext.lib.MyPackage" Version="*" />
The issue here is that the Azure DevOps Server determines the dependency by itself, and it takes the Versions from the staging package in MyFeedTest
for the packages in MyFeed
even when the package MyFeedTest
get unlist, even when the whole feed MyFeedTest
get deleted.
The Azure DevOps Artifact should not determine the dependencies to another package by itself, and it should not ignore the defined dependency setting inside the package project file (Version="*"
).
In the end, my collogues get the following error in Visual Studio:
The Dependencies of the Package ext.lib.MyPackage
on Azure DevOps Server looks like:
But to remember, the package ext.lib.DevExpress
in Version 13.1.5.3
do not exist after deleting the whole feed MyTestFeed.
So how can I solve that? Is it possible to configure the Azure DevOps Server to not behave like this? We can't use staging with that mechanism.
13.1.5.3
. We definedInclude="ext.lib.DevExpress" Version="*"
which is what we want. The Azure Artifacts set the dependency toext.lib.DevExpress (≥ 13.1.5.3)
for theext.lib.MyPackage
package by it self, what we don't want. Even after deleting the feed, whereext.lib.DevExpress 14.1.5.3
was located, the Azure Artifacts keep the wrong dependency toext.lib.DevExpress (≥ 13.1.5.3)
, what we realy don't want. Artifacts convert*
to explicit versions, which is not correct and should be fixed. – Mar Tin