Just for the record, I solved my problem... I changed the script to
read as follows and now it picks everything up fine, although I'm still
wondering if the Microsoft assemblies in the framework directory should
be referenced by default. <csc output="Build\MyProject.exe" target="winexe"> <references basedir="Build"> <include name="${framework::get-framework-directory('net-1.1') + '\Microsoft.*.dll'}" /> <include name="*.dll" /> </references> <sources basedir="."> <include name="MyProject\**\*.cs" /> </sources> </csc> Regards, Rich Richard Sbarro wrote: Just wondering what the proper syntax for referencing the Microsoft assemblies found in the Framework directory (i.e. "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322") is. It seems that the System assemblies are picked up without being explicitly referenced, but the Microsoft assemblies in that directory are not. This is a problem because not all of the developers on my project have the .NET Framework installed in the same location. |
- Re: [Nant-users] <csc> reference for Microsoft assemb... Richard Sbarro
- Re: [Nant-users] <csc> reference for Microsoft a... Kevin Williams
- Re: [Nant-users] <csc> reference for Microso... Richard Sbarro
- Re: [Nant-users] <csc> reference for Mic... Ian MacLean
- Re: [Nant-users] <csc> reference for Microsoft a... Ian MacLean