-
Notifications
You must be signed in to change notification settings - Fork 205
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
Common.Logging.Core should reference mscorlib 4.0.0.0 instead of 2.0.5.0 in lib/net40. #174
Comments
I think this is the reason it wont compile under CPS/net4* of .net core 3.0: dotnet/wpf#1451 |
This issue is making my WPF build fail for the bug mentioned above. This is the ONLY dll I cannot update to use mscorlib 4 insteaf of 2.0.5.0.
|
From dotnet/wpf#1451. Assumes I have same problem with Microsoft.Bcl.Async. Assemblies in this package depends from mscorlib 2.0.5.0. And I'm trying to use async/await in net40 project. It was all fine before I updated my project to SDK format (Microsoft.NET.Sdk.WindowsDesktop). |
Can always use this custom nuget-package from this PR: #176 |
@snakefoot that package in #176 is not signed and also it is the nlog one not the core one. |
That is the problem with OpenSource projects. They only work as long someone thinks it is fun. You can always fork and compile with your own strong-sign-key.
|
@snakefoot there would be no problems if the snk key was published #11 |
Can understand your frustration. But unless you have a time machine so you can fix the past. Then I think you have to say "thank you for the fish" and move on.
|
@snakefoot I quite don't follow. are you a maintainer here? |
Nope not a maintainer or janitor. Just aware that this project has very few updates and people are moving on.
|
Btw. when using NetCore then strong-naming is no longer that important, and GAC is no longer available. So you could consider making a pure NetStandard-build without strong-name-key.
https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming |
Have attached custom build nuget-packages without strong-name-key, that can be used for NetCore3 projects: Common.Logging.Core.3.4.2.nupkg.zip Remove |
The NuGet package for Common.Logging.Core (at least v3.4.1) contains a net40 library that references mscorlib 2.0.5.0. It should reference mscorlib 4.0.0.0 like other components such as Common.Logging and Common.Logging.NLog*.
This is causing issues when used with Roslyn and also when used with StackExchange.Precompilation.Build.
The text was updated successfully, but these errors were encountered: