-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sign assembly for a strongly named DLL #96
Conversation
@carlreid Thanks for the PR. We're having the team take a look and will respond with feedback soon. |
@carlreid: Thanks for the PR. Everything looks good! |
@ogaca-dd Great! It would be awesome if you could possibly do a minor release so we can consume the package. Otherwise an indication of when you plan on releasing a new version so we can schedule accordingly. |
@carlreid: We plan to create a new release next week. |
@ogaca-dd Sounds good, thanks for the update 👍 |
@ogaca-dd Is the plan still to release this week? We're very eager to get our metrics working. |
Yes the plan is to release tomorrow! |
Hello, The DogStatsD-CSharp-Client 3.4.0 has just been released: https://www.nuget.org/packages/DogStatsD-CSharp-Client/3.4.0. https://github.com/DataDog/dogstatsd-csharp-client/blob/master/CHANGELOG.md |
Thanks for the update! Will play around with it on Monday 😄 |
@darraghjones: Can you add some context to your comment? Did this change cause an issue for you? If so, please open a new GitHub issue. Regarding strong naming in general, it's been almost 8 years since that post and a lot of things have changed since then. Microsoft has taken several steps to reduce the friction cause by strict binding in .NET Framework:
Here are some links to more recent official guidance on strong naming assemblies (emphasis mine):
|
Yes, the issue we encountered was The file which was actually deployed was StatsdClient 3.4 (due to transitive dependencies and using a highest matching version dependency resolution strategy). You cannot use assembly binding redirects to redirect from a non-strongly named assembly to one which is. Admittedly this is a non-issue with .NET Core. But it is still an issue with .NET Framework. I'm not saying don't strong-name you're assemblies. Just that if you chose to add or remove the strong-naming you should seriously consider major version bumping. I can still remember like yesterday the pain this caused when log4net did the same thing. |
We need to register this DLL in GAC for a 3rd party system to find the DLL. This requires this assemply to be signed so it's strongly named.