Skip to content

Possible version number error with 1.0.18 release #28

@roger-strain

Description

@roger-strain

I've been seeing some weird Nuget warnings with builds that include this project, and finally tried to look into it. I think there might have been a versioning error with the .NET Framework 4.5 assembly published as part of the 1.0.18 release package. It has a 1.0.17 version number baked into it, while all the others report 1.0.18.

Image

Not sure if it's related, but the specific build is multitargeting .NET Framework 4.8 and .NET 8.0. The warnings that I'm seeing look like this:

warning MSB3277: Found conflicts between different versions of "RandomDataGenerator" that could not be resolved.
warning MSB3277: There was a conflict between "RandomDataGenerator, Version=1.0.17.0, Culture=neutral, PublicKeyToken=ae5c571d29a3b8d9" and "RandomDataGenerator, Version=1.0.18.0, Culture=neutral, PublicKeyToken=ae5c571d29a3b8d9".
warning MSB3277: "RandomDataGenerator, Version=1.0.17.0, Culture=neutral, PublicKeyToken=ae5c571d29a3b8d9" was chosen because it was primary and "RandomDataGenerator, Version=1.0.18.0, Culture=neutral, PublicKeyToken=ae5c571d29a3b8d9" was not.
warning MSB3277: References which depend on "RandomDataGenerator, Version=1.0.17.0, Culture=neutral, PublicKeyToken=ae5c571d29a3b8d9" [C:\Users\xxx.nuget\packages\randomdatagenerator.net\1.0.18\lib\net45\RandomDataGenerator.dll].
warning MSB3277: C:\Users\xxx.nuget\packages\randomdatagenerator.net\1.0.18\lib\net45\RandomDataGenerator.dll
warning MSB3277: Project file item includes which caused reference "C:\Users\xxx.nuget\packages\randomdatagenerator.net\1.0.18\lib\net45\RandomDataGenerator.dll".
warning MSB3277: C:\Users\xxx.nuget\packages\randomdatagenerator.net\1.0.18\lib\net45\RandomDataGenerator.dll
warning MSB3277: References which depend on or have been unified to "RandomDataGenerator, Version=1.0.18.0, Culture=neutral, PublicKeyToken=ae5c571d29a3b8d9" [].
warning MSB3277: C:\Users\xxx.nuget\packages\handlebars.net.helpers.random\2.5.0\lib\net46\HandlebarsDotNet.Helpers.Random.dll
warning MSB3277: Project file item includes which caused reference "C:\Users\xxx.nuget\packages\handlebars.net.helpers.random\2.5.0\lib\net46\HandlebarsDotNet.Helpers.Random.dll".
warning MSB3277: C:\Users\xxx.nuget\packages\handlebars.net.helpers.random\2.5.0\lib\net46\HandlebarsDotNet.Helpers.Random.dll
warning MSB3277: C:\Users\xxx.nuget\packages\wiremock.net.minimal\1.8.9\lib\net461\WireMock.Net.Minimal.dll
warning MSB3277: Project file item includes which caused reference "C:\Users\xxx.nuget\packages\wiremock.net.minimal\1.8.9\lib\net461\WireMock.Net.Minimal.dll".
warning MSB3277: C:\Users\xxx.nuget\packages\wiremock.net.minimal\1.8.9\lib\net461\WireMock.Net.Minimal.dll
warning MSB3277: C:\Users\xxx.nuget\packages\wiremock.net.openapiparser\1.8.9\lib\netstandard2.0\WireMock.Net.OpenApiParser.dll
warning MSB3277: Project file item includes which caused reference "C:\Users\xxx.nuget\packages\wiremock.net.openapiparser\1.8.9\lib\netstandard2.0\WireMock.Net.OpenApiParser.dll".
warning MSB3277: C:\Users\xxx.nuget\packages\wiremock.net.openapiparser\1.8.9\lib\netstandard2.0\WireMock.Net.OpenApiParser.dll
warning MSB3277: C:\Users\xxx.nuget\packages\wiremock.net.minimal\1.8.9\lib\net461\WireMock.Net.Minimal.dll

The dependency is being introduced by WireMock.Net (1.8.9 or 1.8.10), and doesn't actually seem to be requested by anything else in our projects or other packages from what I can see. Not sure if there's any actual solution to be had that makes the warning go away, but figured I'd post an issue in case you wanted to verify the version number is populating correctly in that build.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions