You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that Polly.dll in our .NETStandard-targeting Nuget packages is currently version-numbered 0.0.0.0. (Nuget package number is correct; AssemblyVersion info on Polly.dll (the dll targeting NetStandard 1.0 only) reads 0.0.0.0)
Options:
[1] Continue to live with this
[2] Keep [assembly: AssemblyVersion("5.0.2.0")] in Polly.NetStandard10\AssemblyInfo.cs manually in sync with GitVersionConfig.yaml (two sources of truth) (until GitVersionTask fix this)
[3] [preferred for now?] Add some automated regex replace step in the build, to copy the version number from GitVersionConfig.yaml (single source of truth) to Polly.NetStandard10\AssemblyInfo.cs (until GitVersionTask fix this)
[4] Switch to https://github.com/SimpleGitVersion/SGV-Net. Claims to handle this scenario, but has more limited following than GitVersionTask.
Clearly, with the whole project.json / csproj tooling in flux, we can expect to have to change this again - any solution is temporary.
GitVersionTask folks are (probably wisely) holding off fixing, until the Net Standard project formats/tooling settle.
The text was updated successfully, but these errors were encountered:
The GitVersionTask tool we use to stamp assemblies with version number does not yet support assemblies targeting .NET Standard.
This means that Polly.dll in our .NETStandard-targeting Nuget packages is currently version-numbered 0.0.0.0. (Nuget package number is correct; AssemblyVersion info on Polly.dll (the dll targeting NetStandard 1.0 only) reads 0.0.0.0)
Options:
[1] Continue to live with this
[2] Keep
[assembly: AssemblyVersion("5.0.2.0")]
inPolly.NetStandard10\AssemblyInfo.cs
manually in sync withGitVersionConfig.yaml
(two sources of truth) (until GitVersionTask fix this)[3] [preferred for now?] Add some automated regex replace step in the build, to copy the version number from
GitVersionConfig.yaml
(single source of truth) toPolly.NetStandard10\AssemblyInfo.cs
(until GitVersionTask fix this)[4] Switch to https://github.com/SimpleGitVersion/SGV-Net. Claims to handle this scenario, but has more limited following than GitVersionTask.
Clearly, with the whole project.json / csproj tooling in flux, we can expect to have to change this again - any solution is temporary.
GitVersionTask folks are (probably wisely) holding off fixing, until the Net Standard project formats/tooling settle.
The text was updated successfully, but these errors were encountered: