Discord.Net icon indicating copy to clipboard operation
Discord.Net copied to clipboard

Pack metapackage with Discord.Net.Core version

Open adamgauthier opened this issue 4 years ago • 2 comments

To avoid any mismatch between both versions and duplication in the code, the .nuspec file is simplified. The build process now ensures the version is set to the exact version Discord.Net.Core is packed with.

adamgauthier avatar Dec 15 '21 07:12 adamgauthier

@SubZero0 Thoughts?

quinchs avatar Dec 15 '21 08:12 quinchs

For context, there is currently an issue where the metapackage is packed with dependencies of format version-buildnumber instead of the actual version of the pushed dependencies (version-dev-buildnumber). This leads to errors when attempting to use the metapackage:

NU1603    Discord.Net 3.0.0-dev-20211215.1 depends on Discord.Net.Commands (>= 3.0.0-20211215.1) but Discord.Net.Commands 3.0.0-20211215.1 was not found. An approximate best match of Discord.Net.Commands 3.0.0-dev-20210524.5 was resolved.

This change would make it impossible to happen in the future (assuming all packages are in sync with Discord.Net.Core)

adamgauthier avatar Dec 15 '21 08:12 adamgauthier