简体   繁体   中英

How do I know which platform a given .NET assembly targets?

In my C# project I add a reference to a COM object and an interop assembly is generated.

How do I know which platform (x86, x64, AnyCpu) this interop assembly targets?

You could use CorFlags.exe, see the MSDN link. (Run from the VS command line, just point it to your assembly)
EDIT: Here's another link with more info than MSDN

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