I have followed the last ticket solution. I still get this following failure. Context: Windows 7.
C:\Users\BruceAxtens\Documents\Liogo\Samples>SET LIOGOPATH=C:\PROGRA~1\LIOGO
C:\Users\BruceAxtens\Documents\Liogo\Samples>SET DOTNETSDKPATH=C:\Windows\Microsoft.NET\Framework\v2.0.50727
C:\Users\BruceAxtens\Documents\Liogo\Samples>csc /nologo /t:library matchdotnet.cs /r:"%LIOGOPATH%\bin\LIOGO-CORE.dll"
C:\Users\BruceAxtens\Documents\Liogo\Samples>liogoc /lang:en /nologo singlematch.lgo /r:matchdotnet
Unhandled Exception: System.BadImageFormatException: Could not load file or assembly 'file:///C:\Users\BruceAxtens\Documents\Liogo\Samples\matchdotnet.dll' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
File name: 'file:///C:\Users\BruceAxtens\Documents\Liogo\Samples\matchdotnet.dll'
at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, StackCrawlMark& stackMark)
at System.Reflection.Assembly.LoadFrom(String assemblyFile)
at LIOGO.Core.LogoLibrary.Load(String assemblyFileName, LoadType loadType)
at LIOGO.Core.LogoContext.LoadLibrary(String name, LoadType loadType)
at LIOGO.Compiler.Compiler.CompileAssemblyFromFile(CompilerParameters options, String fileName)
at LIOGO.Compiler.LogoCodeProvider.CompileAssemblyFromFile(CompilerParameters options, String fileName)
at LIOGO.LIOGOC.Command.Main(String[] args)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
The message "This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded." mean that you probably use the NET SDK 2.0 to build the DLL but that you're currently using the .NET SDK 1.X. Change the DOTNETSDKPATH to match the current framework version and it should work.