This topic is locked

Coding with Visual Studio

5/3/2016 4:49:33 PM
ASPRunner.NET General questions
A
AlanT author

I love the GUI for ASPR but I'm struggling with writing c# code within it.

Do you have any tips for using Visual Studio to do the code editing?
(e.g. in Ironspeed I used to be able to open app in Visual Studio and then write my code directly within there.

I could use the Ironspeed editor, but I nearly always opened app in Visual studio for all my c# code entry)

jadachDevClub member 5/3/2016

When I decide to use visual studio for writing code or troubleshooting, I open the output folder using visual studio. I write my code, then copy and paste in AspRunner.net.

Sergey Kornilov admin 5/4/2016

I guess the question is what kind of code you need to add and how do you plan to enhance built-in ASPRunner.NET functionality. It is easy to open generated app in Visual Studio (ASPRunner.NET generates a solution file) but what do you want to edit there? If you modify any of generated files your changes will be lost. So I assume you need to write some code to be plugged in via means of events or buttons. So I can suggest you write your C# functions or classes in Visual Studio. Then you put your C# files to the output folder and use functions, classes and objects defined in these classes.

Pete K 5/19/2016



When I decide to use visual studio for writing code or troubleshooting, I open the output folder using visual studio. I write my code, then copy and paste in AspRunner.net.


That's a great tip, Jerry. I was struggling a bit with C# syntax, and also missing the Intellisense of VS until I tried your suggestion. Very helpful.

jadachDevClub member 5/19/2016

Yes, this helped me many times.