mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-02-15 05:35:56 +00:00
Dependencies, Additional Repositories? #106
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @d8ahazard on GitHub (Nov 4, 2021).
So, I see a definition for "AdditionalDependencies" in the debpackage builder...but having some trouble getting it to work.
Is it possible to provide an example of how to add a list of extra app dependencies?
Also, is there an option to add another repository before trying to install said depndencies?
@qmfrederik commented on GitHub (Nov 5, 2021):
Here's how you can define additional dependencies for Deb and RPM packages:
@qmfrederik commented on GitHub (Nov 19, 2021):
@aaronegger Do you have a sample project you can share? What's the exact error message? Are you sure you added the
DebDependency/RpmDependencyelements inside anItemGroupelement (and not inside aPropertyGroup)?@aaronegger commented on GitHub (Nov 19, 2021):
Damn i see you were faster...
I tried to delete it before you read it, because i just found out that is indeed because i had it in an property group..
@aaronegger commented on GitHub (Nov 19, 2021):
Sorry but i was just stupid :/
@qmfrederik commented on GitHub (Nov 19, 2021):
@aaronegger No worries, glad I could help!
@aaronegger commented on GitHub (Nov 19, 2021):
This leads to a question that may similar to this.
I read somewhere that i can supply the installscripts by setting a path.
But this haven't worked for me yet.
Should this also be within a subnode?
Currently i use it like that:
< PreRemoveScript >
< ![CDATA[
...
]] >
< /PreRemoveScript >