error CS0006-while building design-time version of custom control

G

Guest

Hi,
Reg- Building the design-time version of the custom control in c#

For creating a graph control, I have used the following link:

http://msdn.microsoft.com/library/d...ngCustomControlForSmartDeviceApplications.asp

which has the title: "Walkthrough: Authoring a Custom Control for Smart
Device Applications"

I have built the run-time version successfully.

In the directory that contains GraphControl.cs, I have pasted the entire
command given in the above link to build the design-time version, but an
error occured:

error CS0006: Metadata file 'C:\Program Files\Microsoft Visual Studio .NET
2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\Designer\System.CF.Design.dll' could not be found

I have installed the Microsoft VS.Net in D: drive and the dll is in the
following directory:
D:\Microsoft Visual Studio .NET 2003\CompactFrameworkSDK\v1.0.5000\Windows
CE\Designer\System.CF.Drawing.DLL

Is that the problem?

So what should I do to get rid of the error message to build the design-time
version of the custom control? I have also run the vcvars32.bat in the
Current Project folder containing the .cs file, after the failure attempts.
Again I executed the csc/noconfig...... command. Still the same error
message comes.

Kindly tell me a suitable solution.
Thanks in advance,

Regards,
Hari
 
G

Guest

Sorry. Now I got the answer. Because the execution path was wrong. Sorry
to trouble you for my carelessness.

Hari
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top