View Issue Details

IDProjectCategoryView StatusLast Update
0017897MMW 5Extensions frameworkpublic2022-05-12 21:16
Reporterdrakinite Assigned To 
Status closedResolutionfixed 
Product Version5.0.1 
Target Version5.0.3Fixed in Version5.0.3 
Summary0017897: Adding a reference to MediaMonkey5 Library in Visual Studio crashes Visual Studio
DescriptionReported here:

To reproduce:
1) in Visual Studio 2017 or 2019, create a new .NET project (WPF app or Windows Forms app, or possibly some other types)
2) under References in the Solution Explorer, right click > Add Reference
3) under COM, check MediaMonkey5 Library and click OK
4) Visual Studio crashes

When doing the same but with MediaMonkey Library, Visual Studio does not crash.
TagsNo tags attached.
Fixed in build2623


related to 0018953 closedLudek Some COM methods not implemented 



2022-04-07 20:12

developer   ~0067491

Is this still issue? Was the dev MonkeyMote that is currently developing his plugin for MM5 -- related to 0018953 ?


2022-04-08 21:13

developer   ~0067505

Last edited: 2022-04-08 21:14

Yes, I can still reproduce the steps and cause Visual Studio 2022 to crash. I don't see MediaMonkey5 Library in the References section of the project MMote gave me, so he's probably using something else to link to the MM5 COM. (Also because on his C++ project, when you click Add Reference, COM doesn't show up as an option.)


2022-05-06 03:42

developer   ~0068010

Posted on the MS developer forum to hopefully obtain more insight on what's causing the crash:
VisualStudioCrash.evtx (69,632 bytes)


2022-05-06 14:47

developer   ~0068022

FYI: I can confirm the issue, when adding 'MediaMonkey5 Library' COM reference then the 'Task is canceled' error appears in Microsoft Visual Studio 2022:
image.png (56,508 bytes)   
image.png (56,508 bytes)   


2022-05-06 17:36

developer   ~0068028

Note: Opening the "MediaMonkey5 Library" Type Library (from the Windows SDK crashes oleview.exe as well.


2022-05-06 18:43

developer   ~0068029

Last edited: 2022-05-06 18:49

Fixed in 2622


2022-05-09 17:19

developer   ~0068064

Last edited: 2022-05-09 17:42


As found by Jordan the fix somehow failed to propagate to 2622.

On current SVN sources the "MediaMonkey.exe /elevate /regcomserver" fixes the issue,
but installing 2622 still produces the "corrupted" type library.

Using MediaMonkey.exe compiled from current SVN sources works to register the type llibrary all right.

It is that multi-process compilation somehow causes the issue, to be find why..


2022-05-09 17:48

developer   ~0068065

Fixed in 2623


2022-05-12 21:16

developer   ~0068127

Verified 2624

Test note: Tested both installation of 2624 and manually starting "MediaMonkey.exe /elevate /regcomserver"