=XIII=Wedge
10-04-2011, 06:37 PM
Hi all,
I was writing a small script the other day and decided to use a little LINQ.
However, when I loaded the mission in the FMB and ran compile in the scripts window I got a compiler warning about not recognising LINQ.
I was under the impression that the game was compiled with .NET 4.0, so this has got me stumped.
Any ideas?
P.S - I wanted to create an assembly with some common routines rather than having to add them to every script. Have the same problem here as I do not know where to put the assembly for it to be referenced by the script file.
Haven't tried the GAC, but wanted to avoid it if possible.
I was writing a small script the other day and decided to use a little LINQ.
However, when I loaded the mission in the FMB and ran compile in the scripts window I got a compiler warning about not recognising LINQ.
I was under the impression that the game was compiled with .NET 4.0, so this has got me stumped.
Any ideas?
P.S - I wanted to create an assembly with some common routines rather than having to add them to every script. Have the same problem here as I do not know where to put the assembly for it to be referenced by the script file.
Haven't tried the GAC, but wanted to avoid it if possible.