Discord.Net
Discord.Net copied to clipboard
Pack metapackage with Discord.Net.Core version
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.
@SubZero0 Thoughts?
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)