View Single Post
  #1  
Old 10-04-2011, 05:37 PM
=XIII=Wedge =XIII=Wedge is offline
Approved Member
 
Join Date: Jan 2010
Posts: 21
Default Using LINQ with script writing

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.
Reply With Quote