I am building a module using the csc task. It pulls in a local AssemblyInfo.cs and a CommonAssemblyInfo.cs file. The Common file contains version info written out by asminfo task.
I am compiling using -t:net-2.0 which I updated to use the v2.0.50727 framework. The build seems to work fine but no data from either of the assembly info files seems to get built into the dll, there is no version, title, copyright etc... Can anyone explain why my assembly info information is not pulled in? It works fine when I compile it through the ide. I have spent the last couple of hours googling for anything but I dont see anything. here is the relevent verbose output: [csc] 'rebuild' attribute set to true, recompiling. [csc] Compiling 62 files to 'E:\_work\Abakos\output\abakos.core.dll'." [csc] Contents of C:\DOCUME~1\MikeB\LOCALS~1\Temp\tmp48A.tmp. [csc] /fullpaths [csc] /debug [csc] "/define:DEBUG" [csc] "/define:TRACE" [csc] /nologo [csc] "/target:module" [csc] "/out:E:\_work\Abakos\output\abakos.core.dll" [csc] "E:\_work\Abakos\CommonAssemblyInfo.cs" [csc] "E:\_work\Abakos\Core\Properties\AssemblyInfo.cs" ____________________ I can see that its grabbing the files and the compile completes without any errors. ____________________ Here is my csc task <target name="Abakos.Core" depends="Clean.Abakos.Core"> <csc output="${outputpath}/abakos.core.dll" target="module" debug="${debug}" verbose="true" rebuild="true" > <references> <include name="System"/> </references> <sources> <include name="./CommonAssemblyInfo.cs"/> <include name="./Core/**/*.cs"/> </sources> </csc> </target> __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click _______________________________________________ NAnt-users mailing list NAnt-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nant-users