.NET 5 license - lc.exe exit with code -1

After converting a project to .NET 5, the project doesn’t compile anymore, the error is ‘lc.exe exit with code -1’. Is there any change in the license-system?

Hi Andreas,

Right now the license checking is not performed for .NET Core apps (it was not supported in earlier versions of .net core, but we will re-evaluate it with .net 5.0).

When you create new .net core application and use one of our multi-target packages, such as Alternet.Studio.Editor.WindowsForms, the licx file is not added to the project at all.

Please try deleting licx file (or lines containing reference to Alternet assemblies in the licx file) and let us know if this fixes the issue.


Thanks, that fixed it :slight_smile: