Can anyone clear up just what I am supposed to indicate in the /out:,
/t: and /r: switches?
When I don't give the full path, it can't find the file, when I give it
the full path, it says it can't read.
A couple of error lists are below.
Thanks, TD
Compile Attempt
****************************
C:\windows_apps\ChartDraft>csc c:\windows_apps\ChartDraft\class1.cs
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
Class1.cs(7,7): error CS0246: The type or namespace name 'iTextSharp'
could not
be found (are you missing a using directive or an assembly
reference?)
Class1.cs(8,7): error CS0246: The type or namespace name 'iTextSharp'
could not
be found (are you missing a using directive or an assembly
reference?)
Class1.cs(9,7): error CS0246: The type or namespace name 'ICSharpCode'
could not
be found (are you missing a using directive or an assembly
reference?)
Class1.cs(11,7): error CS0246: The type or namespace name 'Oracle'
could not be
found (are you missing a using directive or an assembly
reference?)
Class1.cs(12,7): error CS0246: The type or namespace name 'Oracle'
could not be
found (are you missing a using directive or an assembly
reference?)
Class1.cs(13,7): error CS0246: The type or namespace name 'Oracle'
could not be
found (are you missing a using directive or an assembly
reference?)
Class1.cs(28,10): error CS0246: The type or namespace name 'iTextSharp'
could
not be found (are you missing a using directive or an assembly
reference?)
Class1.cs(29,10): error CS0246: The type or namespace name 'iTextSharp'
could
not be found (are you missing a using directive or an assembly
reference?)
Class1.cs(30,10): error CS0246: The type or namespace name 'iTextSharp'
could
not be found (are you missing a using directive or an assembly
reference?)
Class1.cs(31,10): error CS0246: The type or namespace name 'iTextSharp'
could
not be found (are you missing a using directive or an assembly
reference?)
Class1.cs(87,44): error CS0246: The type or namespace name 'Phrase'
could not be
found (are you missing a using directive or an assembly
reference?)
Class1.cs(97,41): error CS0246: The type or namespace name 'Phrase'
could not be
found (are you missing a using directive or an assembly
reference?)
Class1.cs(107,10): error CS0246: The type or namespace name
'iTextSharp' could
not be found (are you missing a using directive or an assembly
reference?)
Class1.cs(122,9): error CS0246: The type or namespace name 'iTextSharp'
could
not be found (are you missing a using directive or an assembly
reference?)
Compile Attempt
***************************
C:\windows_apps\ChartDraft>csc c:\windows_apps\ChartDraft\class1.cs
/lib:C:\wind
ows_apps\ChartDraft\SharpZipLibReference_assy050\ICSharpCode.SharpZipLib.dll
C:\
windows_apps\ChartDraft\iTextSharpReference_ver.04\itextsharp.dll
C:\oracle\ora9
2\bin\Oracle.DataAccess.dll
Microsoft (R) Visual C# .NET Compiler version 7.10.6001.4
for Microsoft (R) .NET Framework version 1.1.4322
Copyright (C) Microsoft Corporation 2001-2002. All rights reserved.
error CS2015:
'c:\windows_apps\ChartDraft\iTextSharpReference_ver.04\itextsharp.dll'
is a binary file instead of a source code file
error CS1504: Source file
'c:\windows_apps\ChartDraft\iTextSharpReference_ver.04\itextsharp.dll'
could not be opened ('Unspecified error ')
error CS2015: 'c:\oracle\ora92\bin\Oracle.DataAccess.dll' is a binary
file
instead of a source code file
error CS1504: Source file 'c:\oracle\ora92\bin\Oracle.DataAccess.dll'
could not
be opened ('Unspecified error ')
What am I missing?
Thanks, TD
Anyway, here is the working csc.
csc
/reference:C:\oracle\ora92\bin\Oracle.DataAccess.dll;C:\windows_apps\ChartDraft\iTextSharpReference_ver.04\itextsharp.dll;C:\windows_apps\ChartDraft\SharpZipLibReference_assy050\ICSharpCode.SharpZipLib.dll
/out:ChartDraft.exe *.cs
Thanks