Nuget dll that includes additional libraries?

Topics: General
Apr 15, 2014 at 12:13 AM
Edited Apr 15, 2014 at 12:15 AM
My ultimate goal here is to call some C# code from java using the JNA framework.

I am trying to make use of the Parallel library so I used this line in the Nuget Console:

Install-Package System.Threading.Tasks

I then created my method I require:
public delegate bool blah(int one, int Two);
        public static void thing(blah b, int i1, int i2)

             Parallel.For(i1, i2, (a) =>
                    Console.WriteLine("Hi Hi from c#, 10 times?");
                    //b.Invoke(0, 0);
            //b.Invoke(50, 20);
and built the application, but in my bin/debug folder I get:


I can call regular functions that were placed in NuGet.Packager1.dll (say just print out to console).

But when I attempt to call the function with the parallel for loop I get an error file, which suggests it cannot find the System.Threading.Tasks library.

Sorry if this is the wrong type of discussion, I am new here.

Thank you.