.NET assembly won't link against .NET 4.0

The engine.
Post Reply
BioPhysEngr
Posts: 1
Joined: Sat Apr 20, 2013 6:11 am

.NET assembly won't link against .NET 4.0

Post by BioPhysEngr » Sat Apr 20, 2013 4:16 pm

Hello!

I've been using SMILE for a few things recently (e.g. http://goo.gl/jYwbZ) under C# and found it to be a fantastic library. However, I've noticed that I can only link assemblies that target the .NET 3.5 framework; if I try to link a .NET 4.0 program to SMILE, I get error messages. Compilation succeeds, but I get thrown a runtime error, using a very simple test program (see below).

I've tried (unsuccessfully) to re-compile the .NET library to target the 4.0 assembly on my own.

Any chance the maintainers would be willing to re-build assemblies those to target the .NET 4.0 or even 4.5 framework? Perhaps we could leave the current ones, too, for backward compatibility?

Thanks for your help!

Test program:

Code: Select all

using System;
using Smile;

namespace TestSmile40
{
	class Program
	{
		public static void Main(string[] args)
		{
			Smile.Network net = new Network();
		}
	}
}

shooltz[BayesFusion]
Site Admin
Posts: 1247
Joined: Mon Nov 26, 2007 5:51 pm

Re: .NET assembly won't link against .NET 4.0

Post by shooltz[BayesFusion] » Mon Apr 22, 2013 3:02 pm

BioPhysEngr wrote:I've tried (unsuccessfully) to re-compile the .NET library to target the 4.0 assembly on my own.
What problems did you encounter?

Post Reply