C
C#2y ago
Collin

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

title
28 Replies
Angius
Angius2y ago
dotnet build Or, well, dotnet publish rather
Collin
CollinOP2y 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
Angius2y 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
CollinOP2y ago
i mean the project is injecting into a unity process and it uses UnityEngine but ofc dotnet throws an error @ZZZZZZZZZZZZZZZZZZZZZZZZZ
Angius
Angius2y ago
Why are you doing this DLL injection anyway?
Collin
CollinOP2y ago
modding
Angius
Angius2y ago
Look up modding resources for this particular game Depending on the Unity version you'll need to use different versions of .NET
Pobiega
Pobiega2y ago
Might wanna have a look at the Harmony library too
Collin
CollinOP2y ago
another person compiled it though but idk how
arion
arion2y ago
Can confirm, Harmony is great for game modding
Collin
CollinOP2y ago
.
arion
arion2y 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
CollinOP2y ago
i cant dm the person but there has got to be a simple way to compile it without it throwing the errors
arion
arion2y ago
I thought you said its already compiled?
Collin
CollinOP2y ago
i wanna compile it myself with my changes
arion
arion2y ago
What are your errors in anycase? This whole idea smells sus
phaseshift
phaseshift2y ago
its for game cheats, right?
arion
arion2y ago
It shouldnt be Is it @Collin ?
Collin
CollinOP2y ago
.
arion
arion2y ago
What errors? What game? One thing can be considered modding like Risk of Rain, and another cheating, like Escape from Tarkov
MODiX
MODiX2y 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
Pobiega2y ago
It's cheating.
phaseshift
phaseshift2y ago
funny how its the same conversation that was related to cheats
MODiX
MODiX2y 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
arion2y 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
MODiX2y ago
Use the /close command to mark a forum thread as answered
Collin
CollinOP2y ago
$stfu
Scratch
Scratch2y ago
!ban 1048344470648791050 cheat dev

Did you find this page helpful?