Before the nuget packages were introduced I had my reference in the C# projects, set up similar to the CRT examples and I didn't have to update the version number after each standard version upgrade.
Then the Nuget packages were introduced and it all changed. My projects are still Class Library (.NET Framework) projects. I didn't change them all over to be .NET Standard class libraries.
Looking at the CRT examples, I see the projects use also a variable for the version number, same as before the Nuget package introduction, except this variable has a different name:
Version="$(ChannelRepoPackagesVersion)"
However the CRT sample examples are all .NET Standard class libraries.
If I add the "$(ChannelRepoPackagesVersion)" version number to my .NET Framework projects, on compilation it tells me that it downgrades the Framework package for example.
****
Warning NU1605 Detected package downgrade: Microsoft.Dynamics.Commerce.Runtime.Framework from 10.0.20344.2 to 10.0.20303.3. Reference the package directly from the project to select a different version.
TMCRoundUpDownCRT -> Microsoft.Dynamics.Commerce.Runtime.Services.Messages 9.24.20345.1 -> Microsoft.Dynamics.Commerce.Runtime.Framework (>= 10.0.20344.2)
TMCRoundUpDownCRT -> Microsoft.Dynamics.Commerce.Runtime.Framework (>= 9.24.0) TMCRoundUpDownCRT
****
Currently, every time I upgrade to the next version, I have to go into every single project and click on Manage Nuget Packages and update the version for each package in every project.
This is very time consuming.
Is there a way to use the same variable as the example samples for .NET Framework class libraries projects and not have it downgrade the packages?
Any help is much appreciated..