Hello all,
I'm facing a strange issue with the COBIA Class Wizard (with Visual Studio 2026) on my laptop. Every time I try to either add a new class, implement an interface, add entry points, or publish a PMC, it fails with "No supported projects loaded". Any ideas what might cause this?
On my desktop PC with the same versions of Visual Studio and COBIA-SDK the Class Wizard works normally. The issue persists after reinstalling COBIAx64, COBIA-SDK, and the Class Wizard.
Edit: The problem persists even after a repair and a full reinstall of Visual Studio have been performed.
Here's some potentially useful debugging info (same across both computers):
Visual Studio Version: 18.12.0 (previously 18.11.2)
COBIA Class Wizard Version: 1.0.12
COBIA-SDK Version: 1.2.2.1
CAPE-OPEN IDL file creation date: 2026/04/20
COBIA Class Wizard fails with "No supported projects loaded"
Moderator: jasper
Re: COBIA Class Wizard fails with "No supported projects loaded"
Do you have a solution loaded with in there at least one C++ project? Can you share a minimal solution for which you find the wizard does not work?
Re: COBIA Class Wizard fails with "No supported projects loaded"
Hi Jasper,
The problem happens when creating a brand new C++ "Empty Project", but I can only recreate it on my laptop... My desktop PC works normally with the exact same project file, so I don't expect you to face any issues with the one I am attaching. Furthermore, the COBIA_CodeGen.exe CLI tool seems to work normally, which makes me suspect that something related to my Visual Studio (or plugin) installation is corrupted.
In the meantime, could you please verify that this is the proper way to use the Cobia_CodeGen CLI tool to create e.g. a Unit Operation?
Thanks for taking the time to look into this.
The problem happens when creating a brand new C++ "Empty Project", but I can only recreate it on my laptop... My desktop PC works normally with the exact same project file, so I don't expect you to face any issues with the one I am attaching. Furthermore, the COBIA_CodeGen.exe CLI tool seems to work normally, which makes me suspect that something related to my Visual Studio (or plugin) installation is corrupted.
In the meantime, could you please verify that this is the proper way to use the Cobia_CodeGen CLI tool to create e.g. a Unit Operation?
Code: Select all
COBIA_CodeGen.exe /i 'C:\Program Files (x86)\Common Files\CAPE-OPEN Laboratories Network\COBIA IDL\CAPEOPEN_1_2.CIDL' /i 'C:\Program Files (x86)\Common Files\CAPE-OPEN Laboratories Network\COBIA IDL\CAPEOPEN.CIDL'
COBIA_CodeGen.exe /n /P /c "myunit" /o "test.cpp" +name "myunit" +description "test" +capeVersion "1.2" +about "about" +catID "CAPEOPEN::UnitOperation"
COBIA_CodeGen.exe /e /o "CobiaEntryPoints.cpp"- Attachments
-
- MyUnitOperation.zip
- (2.62 KiB) Downloaded 48 times
Last edited by desyk on 17 November 2026, 14:21, edited 1 time in total.
Re: COBIA Class Wizard fails with "No supported projects loaded"
The first line is not required. The /i option can be added to the other lines to tell the code generation which IDL to take into account, but this is not required in case you only use types that also appear in the COBIA registry.
The rest looks ok.
Indeed I cannot reproduce the issue with attached file. Can you check that the installed version of the COBIA wizard is the same on the two computers?
The rest looks ok.
Indeed I cannot reproduce the issue with attached file. Can you check that the installed version of the COBIA wizard is the same on the two computers?
Re: COBIA Class Wizard fails with "No supported projects loaded"
Hi Jasper,
The Class Wizard version is the same across both computers, "1.0.12". COBIA version (1.2.2.1) and IDL files are also the same. I see no reason why it should fail. When I find some spare time I will try fully wiping both COBIA and Visual Studio from my laptop, install them anew, and report on the results.
In the meantime, I am managing rather well with COBIA_CodeGen.exe.
Thanks!
The Class Wizard version is the same across both computers, "1.0.12". COBIA version (1.2.2.1) and IDL files are also the same. I see no reason why it should fail. When I find some spare time I will try fully wiping both COBIA and Visual Studio from my laptop, install them anew, and report on the results.
In the meantime, I am managing rather well with COBIA_CodeGen.exe.
Thanks!