Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change .NET framework of loaded assembly #367

Open
maurodx opened this issue Oct 1, 2024 · 1 comment
Open

Change .NET framework of loaded assembly #367

maurodx opened this issue Oct 1, 2024 · 1 comment

Comments

@maurodx
Copy link

maurodx commented Oct 1, 2024

Description

Is it possible to change .NET framework runtime for the assembly and patch it?
I can't rebuild a project made for .NET 2.0 and i'm trying to swap .NET framework to 4.8 patching EXE and DLL.
Is it possible with dnSpy?

@GazziFX
Copy link

GazziFX commented Oct 2, 2024

Right click on module, and set .NET Version
image
You may also want to change version of reference assemblies(it can still automatically resolve it to new version), here is how
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants