liz (ˈlɪz) is a tool to extract license-information from your project/solution aimed on a fast and correct process. Whether it's via a dotnet-CLI-Tool, Cake-Addin or Nuke-Addon
MIT License
9
stars
0
forks
source link
[BUG]: "download packages that are not in the cache" doesn't work with Central Package Management (CPM) enabled #118
When a solution has the CPM enabled and during the analyzation some packages are not in the cache (which rarely happens) the remaining packages cannot be downloaded, because the current approach does not work when CPM is enabled
Steps to reproduce
Create a solution where CPM is enabled
Analyze using liz
trigger "download packages that are not in cache"
Observe error
Additional Information
the current download approach uses a dummy project using Version. When CPM is enabled one could use VersionOverride.
We'd have to see if we have to check if CPM is enabled for the current solution and switch the approach according or if VersionOverride can be used for everything.
And there is also an option EnableVersionOverride which can be disabled, which would break above mentioned approach too.
Description of the bug
When a solution has the CPM enabled and during the analyzation some packages are not in the cache (which rarely happens) the remaining packages cannot be downloaded, because the current approach does not work when CPM is enabled
Steps to reproduce
Additional Information
the current download approach uses a dummy project using
Version
. When CPM is enabled one could useVersionOverride
.We'd have to see if we have to check if CPM is enabled for the current solution and switch the approach according or if
VersionOverride
can be used for everything.And there is also an option
EnableVersionOverride
which can be disabled, which would break above mentioned approach too.