質問

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