signaturebeef / modframework.net Goto Github PK
View Code? Open in Web Editor NEWA framework you use to build mods or rewrite other .NET applications
License: GNU General Public License v3.0
A framework you use to build mods or rewrite other .NET applications
License: GNU General Public License v3.0
https://github.com/SignatureBeef/ModFramework.NET/blob/default/ModFramework.Modules.CSharp/CSharpLoader.cs loads assemblies from the working directory rather than the executing assembly's directory where most assemblies would be, which causes OTAPI.Patcher to fail when ran anywhere else. For what it's worth, it's easily circumvent-able and it's not crippling
~/runner/work/Open-Terraria-API
$ dotnet run --project OTAPI.Patcher/OTAPI.Patcher.csproj -patchTarget=p -latest=n --framework net6.0
Unhandled exception. System.Exception: Unable to resolve external reference: ModFramework.dll
at ModFramework.Modules.CSharp.CSharpLoader.LoadExternalRefs(String path)+MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at ModFramework.Modules.CSharp.CSharpLoader.CreateMetaData()
at OTAPI.Patcher.Targets.PCServerTarget.CompileAndReadShims(ModFwModder modder) in /home/runner/work/Open-Terraria-API/Open-Terraria-API/OTAPI.Patcher/Targets/PCServerTarget.cs:line 70
at OTAPI.Patcher.Targets.PCServerTarget.<>c__DisplayClass32_0.<Patch>b__0(ModType modType, ModFwModder mm) in /home/runner/work/Open-Terraria-API/Open-Terraria-API/OTAPI.Patcher/Targets/PCServerTarget.cs:line 130
at OTAPI.Patcher.Targets.PatchTargetExtensions.<>c__DisplayClass6_0.<Patch>g__OnApplying|1(ModType modType, ModFwModder modder) in /home/runner/work/Open-Terraria-API/Open-Terraria-API/OTAPI.Patcher/Targets/IPatchTarget.cs:line 180
at ModFramework.ModContext.Apply(ModType modType, ModFwModder modder, IEnumerable`1 assemblies)
at ModFramework.ModFwModder.Read()
at OTAPI.Patcher.Targets.PatchTargetExtensions.Patch(IModPatchTarget target, String status, String input, String output, Boolean publicEverything, Func`3 onApplying, Action`2 print) in /home/runner/work/Open-Terraria-API/Open-Terraria-API/OTAPI.Patcher/Targets/IPatchTarget.cs:line 205
at OTAPI.Patcher.Targets.PCServerTarget.Patch() in /home/runner/work/Open-Terraria-API/Open-Terraria-API/OTAPI.Patcher/Targets/PCServerTarget.cs:line 114
at OTAPI.Patcher.Program.Main(String[] args) in /home/runner/work/Open-Terraria-API/Open-Terraria-API/OTAPI.Patcher/Program.cs:line 28
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.