- if not defined :
      * if it is a project reference then CopyLocal is true
      * if anything else (file present in gac or not) then CopyLocal is false



Just to clarify a point. You can *never* reference an assembly in the GAC. You can reference an assembly somewhere on the filesystem that happens to also be in the GAC but you are *not* referencing the GAC version. The code in Reference.cs realizes this and looks for assemblies in the current framework dir ( where copies of all system assemblies reside ) but it mistakenly names them as GAC files.

That code should use somthing like systemAssembly or FrameworkAssembly rather than gacFile because it will only ever find files in C:\WINDOWS\Microsoft.NET\Framework\v1.0.3705 or equivalent. Third party assemblies that have been added to the gac will not reside here.

Ian




------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to