C
C#15mo ago
Collin

✅ how can u compile a c# project to a .dll file?

title
28 Replies
Angius
Angius15mo ago
dotnet build Or, well, dotnet publish rather
Collin
CollinOP15mo ago
the dll is supposed to be injected into another process and the process has these namespaces that cant be accessed by the project i am makign rn so it throws a lot of errors
Angius
Angius15mo ago
Well, make sure that the version matches Can't exactly make a .NET 7 DLL work with a .NET Framework 3.5 project
Collin
CollinOP15mo ago
i mean the project is injecting into a unity process and it uses UnityEngine but ofc dotnet throws an error @ZZZZZZZZZZZZZZZZZZZZZZZZZ
Angius
Angius15mo ago
Why are you doing this DLL injection anyway?
Collin
CollinOP15mo ago
modding
Angius
Angius15mo ago
Look up modding resources for this particular game Depending on the Unity version you'll need to use different versions of .NET
Pobiega
Pobiega15mo ago
Might wanna have a look at the Harmony library too
Collin
CollinOP15mo ago
another person compiled it though but idk how
arion
arion15mo ago
Can confirm, Harmony is great for game modding
Collin
CollinOP15mo ago
.
arion
arion15mo ago
If another person compiled it then you should ask that person how to inject it. Unity mods usually require some sort of bootstrapping that is specific to that bootstrapper. Some games even have their own built in.
Collin
CollinOP15mo ago
i cant dm the person but there has got to be a simple way to compile it without it throwing the errors
arion
arion15mo ago
I thought you said its already compiled?
Collin
CollinOP15mo ago
i wanna compile it myself with my changes
arion
arion15mo ago
What are your errors in anycase? This whole idea smells sus
phaseshift
phaseshift15mo ago
its for game cheats, right?
arion
arion15mo ago
It shouldnt be Is it @Collin ?
Collin
CollinOP15mo ago
.
arion
arion15mo ago
What errors? What game? One thing can be considered modding like Risk of Rain, and another cheating, like Escape from Tarkov
MODiX
MODiX15mo ago
Collin
then forget the conversation we had before ---------------- how do i compile a c# project to .dll
Quoted by
<@105026391237480448> from #chat (click here)
React with ❌ to remove this embed.
Pobiega
Pobiega15mo ago
It's cheating.
phaseshift
phaseshift15mo ago
funny how its the same conversation that was related to cheats
MODiX
MODiX15mo ago
Collin
how would i compile smth like this: https://github.com/outspect/outspect-1v1.lol-cheat/tree/main to a dll file
Embed Type
Article
Quoted by
<@155396491853168640> from #chat (click here)
From Collin
React with ❌ to remove this embed.
arion
arion15mo ago
Current Features:
Silent Aim Box ESP FOV Circle > Middle Click Crash Godmode Infinite Ammo Rapid Fire Speedhack
Its a cheat not a mod, you wont really find help for those things here $close
MODiX
MODiX15mo ago
Use the /close command to mark a forum thread as answered
Collin
CollinOP15mo ago
$stfu
Scratch
Scratch15mo ago
!ban 1048344470648791050 cheat dev

Did you find this page helpful?