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

Obfuscation results are differents if you build from VS2022 or from MSBuild (2022) #453

Open
stephane-laurans opened this issue Dec 12, 2023 · 1 comment

Comments

@stephane-laurans
Copy link

I have been working for a few days on the migration of a .csproj project from the old format to the new one using the sdk() which uses Obfuscar.

I'm having a problem with obfuscation when I do it using MsBuild. This works great since Vs2022 but when I integrate the compilation into my delivery script, the obfuscation results are different.

While with Visual Studio 2022, the Winforms resources are well obfuscated, it is not the same with the MsBuild compilation.

MSBUILD obfuscation
image

VS2022 obfuscation
image

In both cases, there is no error in build log.

@lextm
Copy link
Member

lextm commented Feb 20, 2024

You need to explain what exactly you meant by "when I do it using MsBuild". How does the .csproj file look like?

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

No branches or pull requests

2 participants