Dmitry.Obukhov#13851
Description
According to the Graphics Mill documentation, you can embed full license key into the resources using License.licx file. However, if you use .NET 4.0 as a target framework, you will get the error:
LC : error LC0000: 'Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)'
0x80131621 means: "Mixed mode assembly is built against version '2.x.x' of the runtime and cannot be loaded in the 4.x.x. runtime without additional configuration information."
Resolution
To fix the issue you should change license compiler configuration. Please create lc.exe.config in the same folder, as lc.exe (typically, "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\" folder), and fill it with following text:
According to the Graphics Mill documentation, you can embed full license key into the resources using License.licx file. However, if you use .NET 4.0 as a target framework, you will get the error:
LC : error LC0000: 'Could not load file or assembly 'Aurigma.GraphicsMill' or one of its dependencies. Could not find or load a specific file. (Exception from HRESULT: 0x80131621)'
0x80131621 means: "Mixed mode assembly is built against version '2.x.x' of the runtime and cannot be loaded in the 4.x.x. runtime without additional configuration information."
Resolution
To fix the issue you should change license compiler configuration. Please create lc.exe.config in the same folder, as lc.exe (typically, "C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\NETFX 4.0 Tools\" folder), and fill it with following text:
<?xml version="1.0"?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy="true">
<supportedRuntime version="v4.0"/>
</startup>
</configuration>