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
dll going from .Net Framework 3.5 to 4.0 after stripping #1
Comments
Do you see the same behavior if you use the |
Tried |
Would you be able to send me the original DLL files? If you don't want to upload it to github, you can DM me through https://discord.gg/RFKW4ZBW |
…runtime Fixes issue #1, which causes references to mscorlib 4.0 to appear when unexpected See https://stackoverflow.com/questions/15603220/mono-cecil-write-library-target-framework-3-5-it-writes-reference-to-mscorlib
This should be fixed in v1.3 Thanks to @Raicuparta helping me debug this, the issue was that NStrip was adding a reference to mscorlib 4.0 due to using Cecil's runtime type resolution (NStrip is a .NET 4.5.2 project, so Cecil was assuming that we wanted mscorlib 4.0) Creating type references in respect to the mscorlib used by the target assembly fixes this. Please reopen this issue if you're experiencing this issue again |
Using the files
Assembly-CSharp.dll
andAssembly-CSharp-firstpass.dll
from Firewatch 1.0.9 (GOG version).Assembly-CSharp.dll
works fine, it stays in 3.5. ButAssembly-CSharp-firstpass.dll
for some reason gets bumped to Framework 4.0 (with or without publicizing), and this seems to make it break on building a project that uses that dll as a dependency. Don't think I can update the project to 4.0 because that breaks other stuff.The text was updated successfully, but these errors were encountered: