Can you do C# Programming without using Visual Studio?
Can you do C# Programming without using Visual Studio?
Just wondering if a guy can do C# with a text editor like Zeus or whatever else. Reason I ask is because I would imagine you would have to download the C# Development Kit or whatever you call it. And does Microsoft allow this? Where can the C# Development Kit be downloaded from?
Re: Can you do C# Programming without using Visual Studio?
Yes, you can write C# without Visual Studio.Reason I ask is because I would imagine you would have to download the C# Development Kit
To start with, you will need to download the .NET SDK from here: https://www.microsoft.com/en-us/downloa ... x?id=53321
As the details from that link suggests:
Developers can use this package to install all the different components for .NET 4.6.2 and build applications targeting the .NET Framework 4.6.2 using either Visual Studio 2015, Visual Studio 2013, Visual Studio 2012 or third party IDEs.
For details on how to use Zeus for C# refer to this link: viewtopic.php?f=5&t=1235&p=2699#p2699
Cheers Jussi
Re: Can you do C# Programming without using Visual Studio?
Okay I got the C# Tools and Compiler installed and added to my Path. I wrote some simple code inside Zeus and it compiled fine. My question is do I have any options in controllling the output window?
Currently as you will see in the screenshot I uploaded there is the copyright information and other stuff like version information etc. at the top of the output window and then after that I see the actual output from my program.
Is there a way to clean up the output window so only the output from my program shows?
Currently as you will see in the screenshot I uploaded there is the copyright information and other stuff like version information etc. at the top of the output window and then after that I see the actual output from my program.
Is there a way to clean up the output window so only the output from my program shows?
- Attachments
-
- Zeus Output Window.jpg (92.2 KiB) Viewed 36902 times
Re: Can you do C# Programming without using Visual Studio?
The only way to control this is via the scripting layer using the scripting functions shown below:Is there a way to clean up the output window so only the output from my program shows?
Code: Select all
int file_open_tool(string file name [,string caption] [,add_copyright = 1])
int file_open_project(string file name [,string caption] [,add_copyright = 1])
int file_open_compiler(string file name [,string caption] [,string source file], [add_copyright = 1])
So to do this you would need write a new macro that runs the executable, captures the output to file and then loads the output using one of the functions above.
However, that approach will run into issues if you ever run and executable that you expects users input

FYI currently executables are run using the macro below and it also does handle the case where the executable expects user input:
Code: Select all
$zud\zScript\run_exec.lua
Cheers Jussi