aloneguid / netbox Goto Github PK
View Code? Open in Web Editor NEW.NET support library with useful utility methods
License: MIT License
.NET support library with useful utility methods
License: MIT License
already used in storage.net library but can be publicly available
Combine two or more streams in one but still support streaming.
I installed [email protected]
which pulled in a dependency on [email protected]
. My application is failing now with the error:
Could not load file or assembly 'NetBox' or one of its dependencies. Strong name signature could not be verified. The assembly may have been tampered with, or it was delay signed but not fully signed with the correct private key. (Exception from HRESULT: 0x80131045)
The assembly does have a public key token and does not appear to be delay signed, but to actually have an invalid signature:
.\netbox.2.3.4\lib\netstandard2.0> [System.Reflection.AssemblyName]::GetAssemblyName("$(pwd)\NetBox.dll").FullName
NetBox, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8dea52f811e261ef
.\netbox.2.3.4\lib\netstandard2.0> sn -f .\NetBox.dll
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
Failed to verify assembly -- Strong name validation failed.
The latest version that doesn't have this issue is 2.1.8:
.\netbox.2.1.8\lib\netstandard2.0> [System.Reflection.AssemblyName]::GetAssemblyName("$(pwd)\NetBox.dll").FullName
NetBox, Version=2.0.0.0, Culture=neutral, PublicKeyToken=8dea52f811e261ef
.\netbox.2.1.8\lib\netstandard2.0> sn -v .\NetBox.dll
Microsoft (R) .NET Framework Strong Name Utility Version 4.0.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
Assembly '.\NetBox.dll' is valid
At the moment they are not supported at all.
Making a stream on top of existing one which lmits reading to a small window.
Recreation:
Result:
Warning CA1724 The type name App conflicts in whole or in part with the namespace name 'NetBox.Terminal.App'. Change either name to eliminate the conflict.
Warning can be disabled - so it is not a big problem.
Question:
/Regards
Using the System.Collections.Generic namespace for your EnumerableExtensions methods has caused a conflict with identically named support methods in my own libraries.
It is recommended to not use the System namespace for any libraries that are not part of the framework. (link 1, link 2)
Would it be possible to move these to a unique namespace, say NetBox.Extensions?
My choice now is to either replace all usages of AddRange and ForEach extension methods with fully qualified static methods, or to stop using Config.NET (neither of which is an ideal solution)
Many projects require a class serializer/deserializer, not like to popular formats (JSON, XML etc.) but for custom implementation. I thought I could create a base for that which other serializers can be build on.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.