25 สิงหาคม 2554 20:56I am trying the Apartment Scene Tutorial. I have followed all the steps, and copied the code blocks into my project.
the problem is that, when i try to run the project, it gives me a missing reference error for this using statement:
Error 1 The type or namespace name 'Samples' does not exist in the namespace 'Microsoft.Robotics.Services' (are you missing an assembly reference?)
Am i missing something????
27 สิงหาคม 2554 21:23เจ้าของ
Firstly, it is not advisable to address questions to specific people in a discussion forum. I do not look at these forums every day and I am not the only person who answers questions.
Yes, you are missing something :-)
If you look at the sample code in:
then you will find that the missing namespace is defined in the ImageProcessingResultForm.
28 สิงหาคม 2554 21:26
I am sorry, it was really urgent!! i apologize for this.
Regarding the missing namespace Microsoft.Robotics.Services.Samples
The "Simulated Apartment Scene" tutorial didn't say anything about it, except that i have to add it in the using statements?
so, do i have to use this namespace each time i build my own Appalication (A Robot Simulator Connected to a WinForm to Apply some Image Processing Algorithms) ?
Thanks so much for your time and efforts,
30 สิงหาคม 2554 5:46เจ้าของ
I think you are missing the point. Yes, the WinForm uses this namespace and the reason for a using statement is so that you can easily refer to methods on the form. On the other hand, no, you do not have to use this namespace unless you are copying the same WinForm into other projects.
- ทำเครื่องหมายเป็นคำตอบโดย Luke Thompson - MSFTMicrosoft, Moderator 17 มกราคม 2555 22:26