Hi,
I am currently building a .NET dll from a Matlab class using mcc.
I want to change the target version of the .NET Framework since the previously used .NET Framework 4.0. is quite old.
Compiling with 4.0 target works fine
mcc -B 'dotnet:MyClass,MyClass,0.0,Private,local' myclass.m
Also this works
mcc -B 'dotnet:MyClass,MyClass,0.0,Private,local' myclass.m
But changing the target no longer works, I do have different .net Framework since we are building other apps agains 4.7.2 outside Matlab.
mcc -B 'dotnet:MyClass,MyClass,4.7.2,Private,local' myclass.m
Invalid .NET framework.
The specified framework either was not found or is not currently supported.
What do I have to do to build with 4.7.2 target? Is this possible ?
I would need this for both 2019b and 2022a versions.
Thank you!