PureDevelopers
IS-IT--Management
I am working through the first exercise in Professional ASP.Net 2.0 Server Control and Component Development, and the author tells you to use the command line to compile the assembly for the gac using: csc /t:library /out:CustomComponents.dll /r:System.dll /r:System.Web.dll AssemblyInfo.cs CreditcardForm1.cs
where I am compiling the AssemblyInfo and Creditcardform1 pages. I am getting an error that the compiler can't find the creditcardform1.cs file. I have tried specifying the path to the file like so:
csc /t:library /out:CustomComponents.dll /r:System.dll /r:System.Web.dll C:\CustomComponents\App_Code\AssemblyInfo.cs C:\CustomComponents\App_Code\CreditcardForm1.cs
as well as navigating to the directory in the command line.
I can't seem to get it to find the file. How do you specify the files relative to a location ??
the files are obviously in: C:\CustomComponents\App_Code\
where I am compiling the AssemblyInfo and Creditcardform1 pages. I am getting an error that the compiler can't find the creditcardform1.cs file. I have tried specifying the path to the file like so:
csc /t:library /out:CustomComponents.dll /r:System.dll /r:System.Web.dll C:\CustomComponents\App_Code\AssemblyInfo.cs C:\CustomComponents\App_Code\CreditcardForm1.cs
as well as navigating to the directory in the command line.
I can't seem to get it to find the file. How do you specify the files relative to a location ??
the files are obviously in: C:\CustomComponents\App_Code\