teognost
01-03-2007, 10:38 AM
I have implemented a NDoc action and in the Input tab->in the Assemblies (one per line) edit box I have written MyApp.*.Iface.dll as I need to document all the assemblies ending with Iface.dll (as there are a lot and still appearing I would not like to write each of them but to use wildcards as I have seen it is done in NANT).But when using this wildcard-an error appears:
//*******************
Error: System.ArgumentException
Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIl legalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPa thList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileInfo..ctor(String fileName)
at NDoc.Core.PathItemBase.set_Path(String value)
at NDoc.Core.FilePath.set_Path(String value)
at NDoc.Core.AssemblySlashDoc..ctor(String assemblyFilename, String slashDocFilename)
at NDoc.ConsoleApplication.EntryPoint.Main(String[] args)
Process completed with exit code 2
//*******************
Is there any way to use wildcards for assemblies in NDoc action?
//*******************
Error: System.ArgumentException
Illegal characters in path.
at System.Security.Permissions.FileIOPermission.HasIl legalCharacters(String[] str)
at System.Security.Permissions.FileIOPermission.AddPa thList(FileIOPermissionAccess access, String[] pathListOrig, Boolean checkForDuplicates, Boolean needFullPath, Boolean copyPathList)
at System.Security.Permissions.FileIOPermission..ctor (FileIOPermissionAccess access, String[] pathList, Boolean checkForDuplicates, Boolean needFullPath)
at System.IO.FileInfo..ctor(String fileName)
at NDoc.Core.PathItemBase.set_Path(String value)
at NDoc.Core.FilePath.set_Path(String value)
at NDoc.Core.AssemblySlashDoc..ctor(String assemblyFilename, String slashDocFilename)
at NDoc.ConsoleApplication.EntryPoint.Main(String[] args)
Process completed with exit code 2
//*******************
Is there any way to use wildcards for assemblies in NDoc action?