-
Notifications
You must be signed in to change notification settings - Fork 33
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
.NET 8 support issue #41
Comments
As mentioned on the main MonoMod repo in other issues, MonoMod was recently rewritten and the what was MonoMod.Common is now (roughly, the actual API has essentially completely changed) MonoMod.Core, with included support for net7 and net8. See MonoMod/MonoMod#94 |
As a side note, I would recommend changing to use MonoMod.RuntimeDetour instead of trying to use Core directly. |
How can I accomplish the same thing, like this: OletxPatcher.Patch(); MsSqlPatcher.Patch(typeof(SqlConnection).Assembly);, using the new MonoMod.Core library? public static async Task RunApplicationAsync(string[] args)
} |
Application Details
The application is an ASP.NET Core web API that uses the
MonoMod.Common
library and theSoftwarehelden.Transactions.Oletx
library to patch the OleTx implementation inSystem.Transactions
and theSystem.Data.SqlClient
library for supporting distributed transactions with MSSQL and Oracle servers.Steps to Reproduce
System.NullReferenceException
is thrown during the application startup.Expected Behavior
The application should start successfully and run without any exceptions when targeting .NET 8.
Additional Information
MonoMod.Common
andSoftwarehelden.Transactions.Oletx
libraries, but the issue persists.Any assistance or guidance in resolving this issue would be greatly appreciated. Please let me know if you need any additional information or if you have any suggestions on how to proceed.
The text was updated successfully, but these errors were encountered: