Error when compiling the sample using the .NET Framework SDK
I'm not sure what i am doing wrong but when i compile the printer delivery sample i get a error CS2001: source file '*.cs' could not be found fatal error cs2008: no inputs specified.
i am using the code on the instruction page.
csc /t:library /out:Microsoft.Samples.ReportingServices.PrinterDeliverySample.dll *.cs /r:Microsoft.ReportingServices.Interfaces.dll
i am using win7 visual studio 2008r2
thanks
May 23rd, 2012 8:24pm
Hello,
Have you run the command in the same folder, where your souce file is located?
If you have Visual Studio 2008, why don't you compile the code with VS instead?Olaf Helper
* cogito ergo sum * errare humanum est * quote erat demonstrandum *
Wenn ich denke, ist das ein Fehler und das beweise ich tglich
Blog
Xing
Free Windows Admin Tool Kit Click here and download it now
May 24th, 2012 1:32am
Hello arvj,
The argument of the command line is correct. I am sure that the command line can work in proper folder. From the error message, I consider that the working folder of the command line does not contain any .cs files. Please change the work folder in command
line to the folder where the .cs files are located, and run the command again. I think you will get the result you expected. Here is the sample code. If the .cs file is located at D:\code, you can run the following command.
c:\>d:
d:\>cd d:\Code
Good luck!
Regards,
EdwardEdward Zhu
TechNet Community Support
May 25th, 2012 10:50pm