Opening visual studio Using UiPath

Hey guys is it possible to use UiPath for opening visual studio and then run the program?

@Prasanna_Venkat

You can run vb code or c# from UiPath studio and for that you need not open visual studio if that is what you are looking at

Invoke code can be used to invoke your code

cheers

Hi @Prasanna_Venkat

Yes, it is possible to use UiPath for opening Visual Studio and then run the program.

  1. Use the UiPath Activity Creator extension for Visual Studio, which allows you to create custom activities from your .NET code and use them in UiPath Studio. You can then publish your custom activities to Orchestrator or another feed and use them in your workflows

Regards
Gokul

Should i do it for every .cs file?

@Prasanna_Venkat

Ideally if you need to run then yes

cheers

Hi @Prasanna_Venkat ,

I believe we can use the Code Snippet what is being used in the Visual Studio also in the UiPath Studio as well, this will be more straight forward and we wouldn’t have to deal with any other part of executing/starting another program.

Could you let us know what is to be performed or what is done in the Visual Studio?

Well i am trying to execute the full program not a small snippet

@Prasanna_Venkat

If whole of the code is compiled then you can try using start process to run your project using command utility

cheers

Do you have an references for this solution?

Hi @Prasanna_Venkat ,

you can automate the manual steps (opening visual studio and execute the program by selecting the program and run from visual studio ) with Ui automation by using simple activities like start process to start the visual studio and use type into and click activity to navigate and select the specific program and execute. we have done similar porject at our end we were easily autoamte with the ui activities. thanks

Regards,
Kirankumar.

1 Like

@Prasanna_Venkat

This si how you generally divide it

Whatever that you can execute through cmd can be done through start process activity

cheers

2 Likes

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