C
C#2d ago
AK

✅ How do i get .NET 4.x on VS 2022?

Im really new to C# and i wanted to use .NET 4.x but i don't see it in Target Framework and i already have .NET 4.x installed on my computer.
No description
27 Replies
Angius
Angius2d ago
Why would you want to use an obsolete version?
AK
AKOP2d ago
EasyHook
Angius
Angius2d ago
In that case, $helloworld
Angius
Angius2d ago
Whoops $newproject
MODiX
MODiX2d ago
When creating a new project, prefer using .NET over .NET Framework, unless you have a very specific reason to be using .NET Framework. .NET Framework is now legacy code and only get security fix updates, it no longer gets new features and is not recommended. https://cdn.discordapp.com/attachments/569261465463160900/899381236617855016/unknown.png
Angius
Angius2d ago
And do the opposite of what it says
AK
AKOP2d ago
Oh my god. God bless you thank you so much!
canton7
canton7this hour
Will that give you an old-style csproj? I'd follow that screenshot, but then open up the csproj (just double-click on it) and change the <TargetFramework> to net45 or whatever
glhays
glhaysthis hour
You might need to install the framework in your VS2022. Use the installer.
leowest
leowestthis hour
.net framework comes with windows so no, most likely he selected the wrong project type. i.e.: if u dont choose the ones that say .net framework at the end u dont get to choose that framework
AK
AKOPthis hour
I got a weird question but is it possible to get like a simple browser into a .dll and be injected into processes? Do i use something like ImGui for C++?
Unknown User
Unknown Userthis hour
Message Not Public
Sign In & Join Server To View
AK
AKOPthis hour
Windows API hook or smth
glhays
glhaysthis hour
Yep I know he said that in his OP. But does he have it installed in the workloads of VS?
Unknown User
Unknown Userthis hour
Message Not Public
Sign In & Join Server To View
AK
AKOPthis hour
nah im making it inject in to SEB Safe Exam Browser Kinda cpp is better in that tho
Unknown User
Unknown Userthis hour
Message Not Public
Sign In & Join Server To View
AK
AKOPthis hour
Kinda i already got a ImGui injected sooo it should be easy from now just need to code a browser and done but im not sure
Unknown User
Unknown Userthis hour
Message Not Public
Sign In & Join Server To View
AK
AKOPthis hour
cuz like im not really familiar with C# and C++ cheat on exams
Jimmacle
Jimmaclethis hour
i think it would be less effort to just study
AK
AKOPthis hour
for learning purposes ofc
Jimmacle
Jimmaclethis hour
nice try, but no
AK
AKOPthis hour
Nah im really just learning hooking
Jimmacle
Jimmaclethis hour
you're on your own for this one
AK
AKOPthis hour
Im fine with that

Did you find this page helpful?