This is a migrated thread and some comments may be shown as answers.

Possible to change ProjectLanguage?

2 Answers 98 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Paul Ricco
Top achievements
Rank 1
Paul Ricco asked on 11 May 2010, 09:54 AM
I've been working on a project and when I first added a coded step it asked for the language and I chose VB.  I've now created a number of tests but I'd like the project language to now be C#.  Is it possible to change the language for the project?  If it isn't, will it be a problem if a dev delivers some C# webaii code for me to use?

2 Answers, 1 is accepted

Sort by
0
Accepted
Cody
Telerik team
answered on 11 May 2010, 03:20 PM
Hi Paul Ricco,

Unfortunately it is not technically possible to mix VB.NET and C# within the same project. Not even full blown Visual Studio can do that (though you can have different project using different languages within the same solution).

My recommendation at this point, to reuse as much as you can, is to:

  1. Create a brand new project
  2. Copy the .aii and .resx files from the old project and add those files to the new project
  3. Add a new code behind file to the tests that had code behind in the old project. Here you'll be able to select C# as your language
  4. Rewrite your old VB code into C# in the new project.
  5. You'll need to drag and drop the new custom coded steps to the right sequence location in the Steps panel.

Greetings,
Cody
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Paul Ricco
Top achievements
Rank 1
answered on 11 May 2010, 03:24 PM
OK, I had a feeling that was going to be the answer.  It's not as bad as it could've been though!
Tags
General Discussions
Asked by
Paul Ricco
Top achievements
Rank 1
Answers by
Cody
Telerik team
Paul Ricco
Top achievements
Rank 1
Share this question
or