|
1 | 1 | The module is built for ... |
2 | 2 | =========================== |
3 | 3 |
|
4 | | -`The module is built for .NET (Core), but you're using a version of BitMono intended for .NET Framework.` - this message is very important because if your app is built on .NET Core but BitMono on .NET Framework after obfuscation your app just won't work. |
| 4 | +Understanding Compatibility |
| 5 | +--------------------------- |
5 | 6 |
|
6 | | -Examples |
7 | | --------- |
| 7 | +When using BitMono for obfuscation, it's critical to ensure that the version of BitMono matches the framework your application is built on. |
8 | 8 |
|
9 | | -Good: |
| 9 | +For example, if your application is built on .NET Core, you **must** use the version of BitMono that is also built for .NET Core. Using an incompatible version will result in your application not functioning after obfuscation. |
10 | 10 |
|
11 | | -- BitMono on .NET Core and your app on .NET Core |
12 | | -- BitMono on .NET Framework and your app on .NET Framework |
| 11 | +.. note:: |
| 12 | + A common error message you may encounter is: |
| 13 | + ``The module is built for .NET (Core), but you're using a version of BitMono intended for .NET Framework.`` |
| 14 | + This indicates a mismatch between your app's framework and BitMono's version. |
13 | 15 |
|
14 | | -Bad (IT WON'T WORK!!!): |
| 16 | +Examples of Compatibility |
| 17 | +-------------------------- |
15 | 18 |
|
16 | | -- BitMono on .NET Core and your app on .NET Framework |
17 | | -- BitMono on .NET Framework and your app on .NET Core |
| 19 | +Here are some examples of correct and incorrect configurations: |
| 20 | + |
| 21 | +**✅ Good Configurations:** |
| 22 | + |
| 23 | +- **BitMono for .NET Core** with an application built on **.NET Core** |
| 24 | +- **BitMono for .NET Framework** with an application built on **.NET Framework** |
| 25 | + |
| 26 | +**❌ Bad Configurations (These Won't Work!):** |
| 27 | + |
| 28 | +- **BitMono for .NET Core** with an application built on **.NET Framework** |
| 29 | +- **BitMono for .NET Framework** with an application built on **.NET Core** |
| 30 | + |
| 31 | +Key Takeaways |
| 32 | +------------- |
| 33 | + |
| 34 | +- Always ensure that **BitMono's framework version** matches the **framework version** of your application. |
| 35 | +- Incompatible configurations will break your app after obfuscation. |
| 36 | +- Carefully check the framework version of both your app and the BitMono release you are using. |
| 37 | + |
| 38 | +.. warning:: |
| 39 | + Mixing framework versions (e.g., using BitMono for .NET Framework with a .NET Core app) will cause the app to fail after obfuscation. |
0 commit comments