Hi, I have just migrated a .uvproj project into Visual Studio Code w/ the https://marketplace.visualstudio.com/items?itemName=Arm.keil-studio-pack
But any attempt to compile it fails because of:
> armclang: error: Failed to check out a license
I have a professional license for MDK in my laptop (I am using Windows 11) but apparently Visual Studio Code does not see it.
Now, does any of you know how to link my license to Visual Studio Code? Are there are tutorials or documentation?
Thanks in advance, Marco.
Hi Ronan, thanks for pointing me to this link.
I had already followed the instructions written in there (even if I had not read it yet). So I clicked `Don’t Ask Again`.
However, what I have tried now instead is to click the activation of the Keil MDK Community Edition license. And magically it compiles. But it does not use my licensed commercial one.
Never mind, as long as it compiles with an armclang.
Thanks
Some updates.
I opened a case at arm support and, I cite:
> ... MDK 6 / the Visual Studio Code plugins only work with the MDK 6 Community License.
Also, apparently the community license takes priority over the commercial one, so they kindly pointed me towards this note that applies to those who have a Keil MDK licensed product and have installed also the Keil Studio Pack extension for Microsoft Visual Studio.
Keil MDK + User Based License: cached license information has expired (arm.com)
That should close the dilemma.
Thanks to everyone.
Thanks Marco for coming back to share the solution you discovered :)