mirror of
https://github.com/quamotion/dotnet-packaging.git
synced 2026-07-09 10:26:09 +00:00
[PR #36] [MERGED] Debian: Specify the .NET Core dependencies for Debian in the .targets file #182
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?
📋 Pull Request Information
Original PR: https://github.com/quamotion/dotnet-packaging/pull/36
Author: @qmfrederik
Created: 10/16/2017
Status: ✅ Merged
Merged: 10/16/2017
Merged by: @qmfrederik
Base:
master← Head:fixes/deb-versions📝 Commits (2)
aa08e70Specify the .NET dependencies in the .targets file instead of code, and let the user override.d7e15edTreat package dependencies as strings📊 Changes
5 files changed (+41 additions, -58 deletions)
View changed files
📝
Packaging.Targets/Deb/DebPackageCreator.cs(+3 -6)➖
Packaging.Targets/Deb/PackageDependency.cs(+0 -31)➖
Packaging.Targets/Deb/PackageDependencyRelation.cs(+0 -11)📝
Packaging.Targets/DebTask.cs(+20 -9)📝
Packaging.Targets/build/Packaging.Targets.targets(+18 -1)📄 Description
Instead of hard-coding the dependencies required by .NET Core, specify them in the
Packaging.Targets.targetsfile in anItemGroupnamedDebDotNetDependencies, and flow those values to theDebPackageCreatorvia theDebTask.If, for some reason, the version of the packages we select by default are not OK for an end-user, they can override this value by manually creating a
DebDotNetDependenciesItemGroup. In that case, we'll use whatever value the user specified.Fixes #35
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.