paket.template dependency ~> LOCKEDVERSION does not work with Dependency Groups, it always seems to try and find the LOCKEDVERSION in the main group, which I'm not using.
The code confirms this:
|
match lockFile.Groups.[Constants.MainDependencyGroup].Resolution |> Map.tryFind id' with |
I receive the following error:
Paket version 2.50.9.0
Paket failed with:
The template file /paket.template contains the placeholder LOCKEDVERSION, but no version was given for package <package_name> in the lockfile.
Suggested Resolution: paket.template should support dependency groups. If this is already the case, it's not clear in the documentation.
CURRENTVERSION does not seem to work correctly either in this scenario.
paket.lock
GROUP Platform-All
NUGET
remote: http://url.to.mynexusrepo
specs:
package_name (1.0.0)
paket.dependencies
group Platform-All
source http://url.to.mynexusrepo
# Add all platform shared packages.
nuget package_name ~> 1.0.0
paket.template
type file
copyright MyCo 2016
id packet_name
version 1.0.2
authors
My Name
projectUrl
http://url.to.my.repo
description
my description
files
Assets/ ==> content/
dependencies
packet_name ~> LOCKEDVERSION
paket.template dependency ~> LOCKEDVERSION does not work with Dependency Groups, it always seems to try and find the LOCKEDVERSION in the main group, which I'm not using.
The code confirms this:
Paket/src/Paket.Core/TemplateFile.fs
Line 260 in e2c5902
I receive the following error:
Paket version 2.50.9.0
Paket failed with:
The template file /paket.template contains the placeholder LOCKEDVERSION, but no version was given for package <package_name> in the lockfile.Suggested Resolution: paket.template should support dependency groups. If this is already the case, it's not clear in the documentation.
CURRENTVERSION does not seem to work correctly either in this scenario.
paket.lock
paket.dependencies
paket.template