Commit Graph
60 Commits
Author SHA1 Message Date
ghorsington 828ef20996 UnityMono: Resolve assemblies into memory using mono API
This fixes several issues with loading assemblies. In turn, this commit also removes old Location/CodeBase fixes since now assemblies are resolved automatically correctly.

Additionally, integrate the mono loader into preloading which fixes assembly location resolving
2022-08-14 17:19:08 +03:00
ghorsington d190b069a1 Restructure versioning and project configuration
To simplify versioning and configuration:

* Removed BepInEx.Shared
* Removed BuildInfoAttribute
* Moved shared configuration to Directory.Build.props
* Refactored to use VersionSuffix and SourceRevisionId for embedding BE and commit hash info
* Enabled debug info embedding
2022-08-14 17:19:06 +03:00
ghorsington a1c7f5c4b1 ConsoleManager: refactor useWinApiEncoder -> useManagedEncoder 2022-08-14 17:18:58 +03:00
ghorsington 16a75479bb Bump package versions 2022-04-17 18:37:36 +03:00
ghorsington 1504d80c06 Bump HarmonyX and MonoMod 2022-02-03 19:06:36 +02:00
Bepis f3c3e897bd Be more defensive about what executables .NET launcher can encounter 2022-01-26 00:33:35 +11:00
Bepis bc20530738 Move .NET framework common entrypoint code to shared project, and add silent exception logging 2022-01-26 00:32:43 +11:00
Bepis 5686f6a003 Create .NET Core platform project 2022-01-25 21:11:55 +11:00
Bepis a02c330295 Implement better platform identification and descriptions in preloader log 2022-01-24 18:05:22 +11:00
Bepis 3f172dbc95 Add assembly framework and architecture checks for xna launcher 2022-01-23 01:56:18 +11:00
ghorsington 59c5adc982 Bump libraries
* Updated HarmonyX
* Updated MonoMod
* Updated Cpp2IL
2022-01-11 17:27:04 +02:00
ghorsington 4bb48c502e Reformat project; apply code style 2021-12-21 18:55:05 +02:00
ghorsington 81141fcfc4 Add LogInterpolatedStringHandler overload for default logger 2021-12-21 18:49:07 +02:00
ghorsington 325e0df14b Use C# 10, reformat project 2021-12-21 16:09:39 +02:00
ghorsington e3e944d042 Bump package versions 2021-12-21 10:41:53 +02:00
ghorsington 7562726305 Bump package versions 2021-12-07 22:16:30 +02:00
ghorsington ad0e751b4d Bump packages 2021-10-24 17:26:34 +03:00
ghorsington 639dbb475c Bump NuGet packages 2021-09-25 19:22:12 +03:00
ghorsington 18e5b15133 Adjust package descriptions 2021-08-25 22:21:45 +03:00
ghorsington 02952f5ab1 Use Microsoft.NETFramework.ReferenceAssemblies 2021-08-25 20:51:07 +03:00
ghorsington bc1572a17f Generate NuGet packages on release build for certain libs 2021-08-25 20:48:14 +03:00
Bepis ed18974f5c Handle alternate entrypoint signatures for .NET launcher 2021-08-23 20:56:37 +10:00
Bepis 53c775ac87 Improve assembly fixes for NetLauncher 2021-08-07 15:32:40 +10:00
Bepis 0e6ad15ea2 Add an unhandled exception handler for NetLauncher 2021-08-07 15:32:40 +10:00
Bepis 3c6cef3445 Fix preloader log not appearing in file log for NetLauncher 2021-08-07 15:32:39 +10:00
Bepis 9cc0211a78 Revamp AssemblyPatcher and patcher plugins 2021-07-29 10:38:36 +10:00
ghorsington 086d2f877d Update HarmonyX and MonoMod.RuntimeDetour 2021-04-25 21:08:16 +03:00
ghorsington e90a5524da Bump HarmonyX and MonoMod versions 2021-04-11 18:46:23 +03:00
ghorsington c874d4f6b3 Apply style 2021-04-11 14:10:00 +03:00
ghorsington d3240c3361 Port important fixes from v5-lts
Only fixes are ported, no main feature changes
2021-04-11 13:25:14 +03:00
ghorsington 79039fb332 Update NuGet packages 2021-03-27 22:22:34 +02:00
ghorsington ff4e1b7c7f Reformat code after last commits 2021-01-26 20:47:02 +02:00
Bepis d5b5c9028c Add additional native library serach call 2021-01-25 12:18:23 +11:00
Bepis 9e271a35be Fix NetLauncher resolution issues on Unix systems 2021-01-25 03:03:18 +11:00
Bepis f60f6cbb62 Fix a significant amount of assembly resolution issues 2021-01-25 02:34:00 +11:00
ghorsington ecb61f60d8 Apply code style 2021-01-23 22:04:11 +02:00
ghorsington 965d9ae1c8 Use net35 reference assemblies; use C# 9 2021-01-05 22:54:45 +02:00
ghorsington 51c33538b4 Update HarmonyX to 2.3.1 2020-12-28 22:44:22 +02:00
Bepis d2a0d3886e Fix .NET launcher, and some debugging issues 2020-12-15 00:24:51 +11:00
ghorsington e574933145 Update HarmonyX to 2.2.0 2020-12-12 22:16:42 +02:00
js6pak c2ecba36e5 Update cake script to use msbuild instead of AssemblyInfo.cs 2020-11-16 09:27:36 +01:00
ghorsington 0d6422e09e Upgrade all projects to C#8 2020-11-09 19:19:14 +02:00
ghorsington 3facf6a663 Move all versioning to shared project 2020-11-09 19:14:43 +02:00
ghorsington a49e599b15 Fix debug type 2020-11-09 18:42:06 +02:00
ghorsington 8a4f9e32b4 Fix build destination 2020-11-09 18:35:20 +02:00
ghorsington da02c7cbc2 Move to modern csproj format 2020-11-09 18:32:12 +02:00
Bepis 79e7a3a7e8 Update HarmonyX package and README 2020-11-09 19:54:06 +11:00
Bepis c2ecb50a22 Add uname libc call on Unix systems as platform check
Rebase of 7647862
2020-11-09 00:55:16 +11:00
Bepis 28a53ea645 Updated cake build script
Pinched some code from the master branch to create Unix builds
2020-11-08 21:11:07 +11:00
Bepis 0137c7bcd6 Fix compilation & running issues from rebase 2020-11-08 02:26:35 +11:00