|
Hi Guys,
I downloaded the PocketVision and TaskVisionServer projects to have a play around the other day, but had problems getting it going!
I installed TaskVisionServer (and TaskVision WebService which it comes with) on my machine because I was using the VisualStudio 2003 supplied PocketPC emulator (which I haven't connected to the internet).
The problem was that when i opened the PocketVision project up in Visual Studio 2003 and tried to update the Web References to point to my locally installed TaskVisionServer Web Services, the project would then fail to compile!
What i found the issue was that the original TaskVision project was built for the Rich Windows client, then came along the PocketVision which uses the compact framework. Since PocketVision uses the compact framework and some of the code generated with creating a Web Reference pointed to namespaces that were only available in the full .net framework, it would cause issues for the PocketVision project.
When you first install the PocketVision project, the Web References contains modified code that were compatiable with compact framework, but is overwritten when you update the Web Reference to point to the local copy of the TaskVisionServer Web Service.
My way around with was to take copies of the Reference.cs from both Web References (can be found hidden under Reference.map in the Solution Explorer. THEN update the web references to the local TaskVisionServer Web Services, then copy the code back into the respective Reference.cs files. This should then allow you to compile and run the PocketVision project with the locally installed TaskVisionServer.
This solution may already be available on this forum, but when i needed it most, i couldnt find it! So for those that are having the same issue as me... give it a go!
Let me know if there are any flaws that i havent considard...
|