Recently, I've worked on upgrading all of the projects in our main application to SDK style projects. This was done in order to enable the feature to auto generate a NuGet package for each project on build.

The main problem I'm running into is that the project dependencies for each generated NuGet package are not getting the proper version. For example, when building the project DV.Common.Abstraction.Intefaces, it references DV.Common.Abstraction.Enumerations. The enumerations project is currently in version 1.4.0.0.

But whenever the interfaces project gets built and the NuGet package gets generated it only sets the condition to 1.0.0.

Is there a way to change the generation of this package so it'd set the version condition to always be the latest version of said project?
From all the options I've seen provided by the project settings this feature seems to not exist and anywhere I look online doesn't seem to answer my question. Any way to fix this issue is appreciated since this would save a lot of time for this structure.