سؤال

Can I do RegAsm to a .NET 2 dll with .Net4 RegAsm.exe?
I have only .NET 4 installed on my machine and I need to do RegAsm to a .NET 2 file.

هل كانت مفيدة؟

المحلول

Yes, you can. The RuntimeVersion value written to the registry will be set according to the CLR header (that is, even if you register the 2.0 DLL with 4.0 RegAsm, it will 'know' that it's a 2.0 DLL and register it accordingly).

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top