简体   繁体   中英

.Net 4.5 assembly registration by 2.0

Planning to migrate few assemblies to .Net framework 4.5. For registration, we are now using RegAsm.exe from C:\\Windows\\Microsoft.NET\\Framework\\v2.0.50727 After migrating to .Net FW 4.5, can we still use the RegAsm from the above path or should we use the one from v4.0.30319 or any other v4.x folder?

You need to use the v4.0.30319 version of regasm.exe for .NET 4.0+

32-bit: c:\\Windows\\Microsoft.NET\\Framework\\v4.0.30319\\RegAsm.exe

64-bit: c:\\Windows\\Microsoft.NET\\Framework64\\v4.0.30319\\RegAsm.exe

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM