Inconsistent NuGet package and assembly versions

2019-09-14 20:29发布

问题:

The NuGet package System.IdentityModel.Tokens.Jwt , version 4.0.2.206221351, found here contains an assembly System.IdentityModel.Tokens.Jwt.dll that has version 4.0.20622.1351, different from version of the NuGet package.

Why this is not a huge problem?

回答1:

NuGet package version numbers are not related to assembly version numbers. They can be different, and must be different from now on, as the package number follow Semantic Versioning.