Check build version (dll) on OS X

How to check dll version on OS X?

The dll management created in C # is all I know.

+4
source share
4 answers

Depends on what information you want to find ... you can add a link to the DLL in the project in Xamarin Studio, and then expand the Links folder and double-click on the DLL ... this will open it in AssemblyBrowser and display AssemblyInfo, which was compiled into a dll.

Viewing AssemblyInfo in Xamarin Studio

If you want to know what architecture the DLL was built for, run it in a terminal window:

file insert_filename_here.dll

If it is an x86 (or "Any processor") DLL, it will say:

insert_filename_here.dll: PE32 executable for MS Windows (DLL) (console) Intel 80386 32-bit Mono/.Net assembly

If it is an x64 dll, it will say:

insert_filename_here.dll: PE32+ executable for MS Windows (DLL) (console) Mono/.Net assembly!
+5
source

Mono Cecil (AssemblyDefinition.ReadAssembly), (AssemblyDefinition.Name.Version).

https://github.com/jbevain/cecil/tree/master/Mono.Cecil

, , .

Xamarin Studio Cecil .

+1

- cat , .

$cat mylibrary.dll

+1

, TextEdit (Quick Look, Open in TextEdit) . -

<MonoTouch,Version=v1.0TFrameworkDisplayName MonoTouchXamarin.MobileXamarin Inc.(#Copyright ¬© 2011-2013 Xamarin Inc.0.7.1.0TWrapNonExceptionThrowsÄû.ÄÑSystem.Security.Permissions.SecurityPermissionAttribute, mscorlib, Version=2.0.5.0, Culture=neutral, 
PublicKeyToken=7cec85d7bea7798eTSkipVerificationúŸæŸ ∞Ÿ_CorDllMainmscoree.dllˇ% Ä0ÄHX‡@@4VS_VERSION_INFOΩÔ˛?DVarFileInfo$Translation∞†StringFileInfo|000004b0<CompanyNameXamarin Inc.HFileDescriptionXamarin
.Mobile0FileVersion0.7.1.0HInternalNameXamarin.Mobile.dlll#LegalCopyrightCopyright © 2011-2013 Xamarin Inc.POriginalFilenameXamarin.Mobile.dll@ProductNameXamarin.Mobile4ProductVersion0.7.1.08Assembly Version0.7.1.0––9
0

Source: https://habr.com/ru/post/1536313/


All Articles