Comments (5)
@pardeike Do you have a source for this statement?
I found exactly the opposite. 😄 Here Microsoft recommends to strong name open source libraries:
https://docs.microsoft.com/en-us/dotnet/standard/library-guidance/strong-naming#create-strong-named-net-libraries
Perhaps we are confusing things here. I am talking about strong naming the assemblies.
As far as I can tell, most open source projects are signed.
As example JSON:
// Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed
Mono.Cecil:
// Mono.Cecil, Version=0.11.4.0, Culture=neutral, PublicKeyToken=50cebf1cceb9d05e
But of course you can also sign the assemblies yourself. But that is a bit tedious.
from monomod.
Dang, I wanted to give a comment before having the issue closed 😅
Better documentation would certainly help as this is quite obscure knowledge right now, but: You should be able to declare a MonoModRules
class that updates MonoModRule.Modder.WriterParameters
in its static constructor. MonoMod exposes the Mono.Cecil writer parameters, which should allow you to set any information necessary for strong naming.
from monomod.
Ah ok I think I see. Thank you for your hint.. I was just interested in the "MonoMod.RuntimeDetour" package to setup a lightweight Hook. Is this not possible with a signed project?
Is there a reason why the packages are not signed? There is a snk file in the Common project..
from monomod.
Ooooh, that's what you meant.
The main reason why MonoMod isn't signed is because it makes drop-in updates by users harder. The runtime seems to have much stricter versioning rules for signed .DLLs, I have yet to understand all the details though. I also remember there being more to it, but sadly not what exactly. I'll try digging up what I can remember 😅
from monomod.
Microsoft itself recommends to not sign open source projects. Big corporations or users with signing needs will have to sign the packages themselves.
The main problem here is that signed artifacts are creating lots of problems for ordinary users that have no idea what it means or have no intend to sign their artifacts.
from monomod.
Related Issues (20)
- Monomod.core Versioning HOT 1
- .NET 3.5 is not supported at all.
- Mono problems with data transfer via NativeHook HOT 3
- FrameworkTests fails to detour `rand()` on MacOS x64 due to an invalid argument error in `vm_map`
- How to access the original native function when using `NativeHook`? HOT 4
- Reorg: Unhandled NotImplementedException with mono 5.2.0 and unity 2017 HOT 4
- Reorg: hard crash with mono <=5.4.1 HOT 2
- Detour state is poisoned by InvalidProgramException when compiling ILHook
- NativeDetour for 32 bit Unity __thiscall functions doesn't work HOT 3
- MonoMod Reorg fails to detect Arch from within BattleTech Mono on Ubuntu 22.04 HOT 9
- MonoMod.Backports conflicts with System.Memory and Polyfill packages on .NET Framework 4.8 HOT 2
- Reorg: string contains garbage for detour Assembly.LoadFrom HOT 4
- Reorg: EndOfChain exposure from DetourBase
- Assembly path does not work due to non-ANSI characters HOT 1
- Reorg: CallSite emitting does not work as intended HOT 11
- Reorg: Incorrect behaviour of MemberReference.Is(MemberInfo) extensions with module level on mono HOT 2
- MonoMod Detours fail due to LinuxSystem not supporting ARM HOT 3
- Cannot access a disposed object HOT 2
- Musl does support TLS in shared objects
- Arguments passed to a hook from a generic method are shifted by 1 HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from monomod.