You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Using pack - include project reference as dependency even if the id doesn't match? #670
For a project template file, the rule for determining dependencies is (as per the docs):
the output assemblies of any project references which do not have a matching template file
However, in most of our projects the package id doesn't match the project name since we use a company prefix on the package names. This means that inter-project dependencies that also publish their own packages will be included in the lib folder but not as dependencies.
So, how can I make it so that our inter project dependencies are added as dependencues even if the id doesn't match?
the output assemblies of any project references which do not have a
matching template file
However, in most of our projects the package id doesn't match the project
name since we use a company prefix on the package names. This means that
inter-project dependencies that also publish their own packages will be
included in the lib folder but not as dependencies.
So, how can I make it so that our inter project dependencies are added as
dependencues even if the id doesn't match?
paket.template id in referenced project == project name: project reference included as dependency
paket.tempate id in referenced project != project name: project reference included in lib folder
Activity
mavnn commentedon Mar 2, 2015
It's not done on id at all: it's based on whether the linked proj file has
an associated paket.template.
Is it not working?
On 2 Mar 2015 20:44, "Andrew Jones" [email protected] wrote:
ascjones commentedon Mar 2, 2015
Oh right, let me try again
ascjones commentedon Mar 2, 2015
It is the behaviour I'm getting (v0.31.6.0):
paket.template id in referenced project == project name: project reference included as dependency
paket.tempate id in referenced project != project name: project reference included in lib folder
Quick look at the code - is this it:
Paket/src/Paket.Core/PackageMetaData.fs
Line 145 in 016da70
Would run the debugger but gotta run now. Will check back tomorrow.
mavnn commentedon Mar 2, 2015
Ah, no: it's here
Paket/src/Paket.Core/PackageProcess.fs
Line 83 in 016da70
forki commentedon Mar 3, 2015
So it's a bug?
mavnn commentedon Mar 3, 2015
Yes
On 3 Mar 2015 07:09, "Steffen Forkmann" [email protected] wrote:
ascjones commentedon Mar 3, 2015
Okay I need this so I'll fix it now, unless @mavnn is already on it
mavnn commentedon Mar 3, 2015
Go for it - I'm on other stuff today
On 3 March 2015 at 10:41, Andrew Jones [email protected] wrote:
Merge pull request #671 from betgenius/master