csharp-build-singlefile-sublime-text-2
csharp-build-singlefile-sublime-text-2 copied to clipboard
Console.WriteLine don't work, thanks
I have an issue with Sublime Text and C# compiler, look, I'm studying C# fundaments and I work building the code on Visual Studio or Visual Studio Code, when I run the code this work fine but sometimes I want to work an only single .cs archive on sublime text because I don't need to save the archive and I like this program to write code, the problem is this, when I try to run the code, this starts and works fine but when the console asks me to type a key the code doesn't continue, I have this .JSON code to run C#.
- from https://stackoverflow.com/questions/57701280/sublime-build-system-not-finding-code-in-working-directory
{ "working_dir": "${folder:${project_path:${file_path}}}", "selector": "source.cs",
"variants":
[
{
"name": "Build",
"shell_cmd": "dotnet build",
"word_wrap": false,
"quiet": true,
},
{
"name": "Clean",
"shell_cmd": "dotnet clean"
},
{
"name": "Run",
"shell_cmd": "dotnet run"
},
{
"name": "Run Interactive",
"cmd": ["dotnet", "run"],
"target": "terminus_open",
"auto_close": false,
}
],
}
I can continue with my application but when it asks me to press a key to continue this don't function, maybe the problem is very simple but I repeat that I am learning, thanks!