ASE Home Page Products Download Purchase Support About ASE
ChartDirector General
Forum HomeForum Home   SearchSearch

Message ListMessage List     Post MessagePost Message

  Unable to compile
Posted by Pramila on Feb-18-2010 12:28
Hi,

I have created a small project with ChartDirector5.0 version. When the project is compiled using the Visual studi GUI, i am getting the "sample.exe"

When i like to compile the project in command promp as given below,

csc /define:DEBUG /optimize /out:pingapps.exe *.cs /r:C:\\Program Files\\ChartDirector\\bin\\netchartdir.dll

I get the following error message,

error CS2001: Source file 'netchartdir.dll' could not be found

Please help me to solve this.

Thanks & Regards,
Pramila

  Re: Unable to compile
Posted by Peter Kwan on Feb-19-2010 02:45
Hi Pramila,

I have not tried myself, but I think there may be an error in your command line. May be you can try:

csc /define:DEBUG /optimize /out:pingapps.exe *.cs /lib:"C:\\Program Files\\ChartDirector\\bin" /r:netchartdir.dll

Note that you should use double quotes to enclose any path with a space in it, such as "C:\\Program Files\\ChartDirector\\bin", otherwise the command line interpreter may think it is two separate arguments "C:\\Program" and "Files\\ChartDirector\\bin".

Hope this can help.

Regards
Peter Kwan