Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: Angelina Talley on 07-02-2012 04:29:19 PM Hi folks! We're working to compile the C# and VB.NET toolkits using Visual Studio. Currently, we're running Visual Studio 2010 on Windows Server 2003 (with .NET 4.0 installed), and as part of that process are setting the project to be compatible with .NET 2.0. But, what we're finding is that whatever we build runs fine in the Debugger in Visual Studio, but when we try to build a productiion package and run it elsewhere it fails.
So, basically we're looking to see what others' experience has been trying to build this code in Visual Studio 2010. Should it work? Or should we just give up and find a new server or downgrade?
Thanks!
Subject: RE: Compiling C# Toolkit in Visual Studio Replied by: David Lender on 13-02-2012 02:01:49 PM Per the UCCE 8.5(2) Release notes here
Cisco CTI OS .NET Toolkit Release 8.5(2) introduces support for application development using Microsoft Visual Studio .NET 2010 and the .NET 3.5 framework. Existing .NET 2.0 controls do not need to be modified. Additionally, the CTI .NET CIL supports Visual Studio .NET 2010.
Note this VS 2010 and framework 3.5 only applies to the .NET Cil and the C# Combo Sample. The COM and C++ Cils require VS 2005.
Subject: RE: Compiling C# Toolkit in Visual Studio Replied by: Shannon McCoy on 27-02-2012 12:08:47 PM
Hi folks! We're working to compile the C# and VB.NET toolkits using Visual Studio. Currently, we're running Visual Studio 2010 on Windows Server 2003 (with .NET 4.0 installed), and as part of that process are setting the project to be compatible with .NET 2.0. But, what we're finding is that whatever we build runs fine in the Debugger in Visual Studio, but when we try to build a productiion package and run it elsewhere it fails.
So, basically we're looking to see what others' experience has been trying to build this code in Visual Studio 2010. Should it work? Or should we just give up and find a new server or downgrade?
Thanks!
I have it running with every version from 7.0, 7.2, 7.5 and 8.0 running with .NET 2.0, 3.5 and 4.0 with no ill effects. For the most part the CIL is just a wrapper around a bunch of TCP/IP calls so it doesn't depend on language/plaform specific API/PINVOKE stuff that is creates problems. My clients have taken hundreds of thousands of calls with no real problems. I have had to do many fixes around bugs in the CILs themselves but haven't had any problems with .NET. I just updated a client I made with 7.2 and .NET 4.0 last night and it is still running strong. I don't even install the CTIOS toolkit on my devel machines, I just link to the 2 .NET DLLs for whatever version I am using. Of course Cisco doesn't support any of these configs so caveat emptor. But then again their support of custom apps is almost nonexistent anyway so if you think you have the devel chops to support it and understand how it works you can do just about anything you can imagine. The plaform allows a lot of leeway. Good luck and happy coding. Shannon
Subject: RE: Compiling C# Toolkit in Visual Studio Replied by: Richard Rhinehart on 27-02-2012 03:25:20 PM Angie,
I am currently working in VS 2010 and having no issues.
A simple test to narrow some things down may help. Go to the bin folder of your project and look for the compiled exe for your cti phone. double click on it. It should run and if it does run without the debugger then you know that you are having an issue in the deployment package.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: