Can somebody explain to me why this target doesn’t
work: <target name="test.changehomedir" > <script language="C#"> <references> <include
name="System.DirectoryServices.dll" asis="true"/> </references> <imports> <import
name="System.DirectoryServices" /> </imports> <code><![CDATA[ public
static void ScriptMain(Project project) { System.DirectoryServices.DirectoryEntry
folderRoot = new
System.DirectoryServices.DirectoryEntry(pd["config.parent"]); } ]]> </code> </script> </target> I get the following error: The type or namespace name ‘DirectoryServices’
does not exist in the class or namespace ‘System’ (are you missing
an assembly refrerence?) Any help on this topic would be greatly appreciated! Thanks – Tim Burda [EMAIL PROTECTED] |
- [Nant-users] Scripting Help.... Timothy Burda
- Re: [Nant-users] Scripting Help.... Ian MacLean