DiscUtils / DiscUtils

Utility libraries to interact with discs, filesystem formats and more
MIT License
750 stars 180 forks source link

Can compile but cannot run #150

Open drvk opened 5 years ago

drvk commented 5 years ago

Sorry for this (probably) dumb question... I can compile (VS2017) but cannot run any fork of this project due to still the same error: System.NullReferenceException because inDisk is null. Checking VirtualDisk.OpenDisk, the result remains null because foundFactory does not get populated in ExtensionMap.TryGetValue(extension, out factory) even though extension is set to "VMDK". Any ideas what I am doing wrong? Thank you!

LordMike commented 5 years ago

Have you registered the different types, as per the Readme?

LordMike commented 5 years ago

https://github.com/DiscUtils/DiscUtils#note-on-detections