Convert the project from VB to C# in the middle of development

Hi Everyone, while working on a project we found out that our coded workflow is being created in C# and the rest of the project is in Visual basic.
Now is there a way to use the C# coded workflow in the VisualBasic project
or
To convert the UiPath project from VB to C#.

UiPath Version in use: Studio 2023.20.5

I have already tried by changing the project.json files expresionlanguage to CSharp which throws an error. Also went to Home>settings>Design> enabled C# but that also doesnt work.

Any suggestions that doesnot lead to redoing the entire project.

Thanks
Abhinav

Create a new project from scratch in C# and fix the VB expressions to match C#.

You can analyze the old project on how you configured.

Coded workflows are always in C# and work in both VB and C# projects. You dont need to convert your workflows or your project.

I am not able to import namespaces into the project which i believe is because of c# and VB conflict. Is that true or is their a specific way to import namespaces into the vb project.

I am quite confident that is not true. Once .NET code is compiled it doesnt matter if it was C# or VB.NET

What are you basing your root cause on?

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.