Hello again, The next problem I've stumbled on is that our projects reference some other assemblies that are neither in the same solution nor standard system libraries. Instead these assemblies are kept in separate folder and referenced by setting the 'Reference Path' option in project properties. The same can be accomplished by issuing the /lib:<folder list> argument to the command-line compiler. Obviously there is no simple way to create proper build files using current SLiNgshoT.
This problem is twofold. First the above mentioned 'Reference Path' option is not stored in the .csproj files but kept in separate .user file because it is considered as user specific. As such it is not shared between project team and the .user files aren't subject to source control. Simply speaking when I load the project from VSS all the 'Reference Paths' are blank. Therefore I won't be able to simply load sources from VSS and compile them without some additional manual tuning. However, to satisfy my needs, it would be absolutely ok if I could pass this option as a command line argument to SLiNgshoT that will use it for every single project in the solution. In fact I even started putting this into code but I have encountered more serious problem. After quick looking into CscTask and BaseCompilerTask classes I have found that NAnt totally ignores existence of the /lib: option. Ok, I could add it using the <arg> element but this also won't work because NAnt uses some weird logic to check if the reference is in place before putting it into temporary result file. So what needs to be done is first change the compiler tasks to support this kind of dynamic references (and maybe at the same time add proper support for the /unsafe and /checked switches). After that we can modify SLiNgshoT to utilize this as well. Best Regards, Szymon Kobalczyk. ------------------------------------------------------- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html _______________________________________________ Nant-developers mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/nant-developers
