Closed asklar closed 4 years ago
Try version 0.5.1 and see if it works.
@loxsmoke no dice, same error...
Error: Could not load file or assembly 'TreeDumpLibrary, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null, ContentType=WindowsRuntime'.
at System.Runtime.Loader.AssemblyLoadContext.LoadFromPath(IntPtr ptrNativeAssemblyLoadContext, String ilPath, String niPath, ObjectHandleOnStack retAssembly)
at System.Runtime.Loader.AssemblyLoadContext.LoadFromAssemblyPath(String assemblyPath)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at MdDox.Program.Main(String[] args) in C:\Dev\mddox\src\Program.cs:line 189
You tried to document WinMD which is a different format. I do not think that .net core 3.1 can load this type of the file.
@loxsmoke looks like this works with the code in master, just not with what's released. Loading WinRT assemblies is supported in .netcore 3.0 preview 5 onwards, see https://github.com/Microsoft/dotnet/issues/590
That is weird. Must be something with tooling.
I'm trying to document a winmd file (a UWP WinRT component) but mddox can't seem to load it: