AJ
AJ
CC#
Created by AJ on 10/30/2023 in #help
❔ Trying to run a command through C# on macOS
Ty
12 replies
CC#
Created by AJ on 10/30/2023 in #help
❔ Trying to run a command through C# on macOS
Oh don’t think of that x
12 replies
CC#
Created by AJ on 10/30/2023 in #help
❔ Trying to run a command through C# on macOS
When doing that:
Unhandled exception. System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'csc /Users/myname/Documents/CascTest/build.cs' with working directory '/Users/myname/Documents/Rider/Cascscript/Cascscript/bin/Debug/net7.0'. No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Program.<<Main>$>g__Compile|0_3(String command) in /Users/myname/Documents/Rider/Cascscript/Cascscript/Program.cs:line 269
at Program.<<Main>$>g__Build|0_2(<>c__DisplayClass0_0&) in /Users/myname/Documents/Rider/Cascscript/Cascscript/Program.cs:line 263
at Program.<Main>$(String[] args) in /Users/myname/Documents/Rider/Cascscript/Cascscript/Program.cs:line 232
Unhandled exception. System.ComponentModel.Win32Exception (2): An error occurred trying to start process 'csc /Users/myname/Documents/CascTest/build.cs' with working directory '/Users/myname/Documents/Rider/Cascscript/Cascscript/bin/Debug/net7.0'. No such file or directory
at System.Diagnostics.Process.ForkAndExecProcess(ProcessStartInfo startInfo, String resolvedFilename, String[] argv, String[] envp, String cwd, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at Program.<<Main>$>g__Compile|0_3(String command) in /Users/myname/Documents/Rider/Cascscript/Cascscript/Program.cs:line 269
at Program.<<Main>$>g__Build|0_2(<>c__DisplayClass0_0&) in /Users/myname/Documents/Rider/Cascscript/Cascscript/Program.cs:line 263
at Program.<Main>$(String[] args) in /Users/myname/Documents/Rider/Cascscript/Cascscript/Program.cs:line 232
12 replies
CC#
Created by AJ on 10/30/2023 in #help
❔ Trying to run a command through C# on macOS
so i really should be doing Process.Start(command); @Pobiega ?
12 replies
CC#
Created by AJ on 10/30/2023 in #help
❔ Trying to run a command through C# on macOS
I see
12 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
They better have a Dracula theme >:3
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
I will ❤️ I love JetBrains tbh
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
It’s fine I have a spare laptop I can throw Win11 on, that was my plan anyway
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Which are my two primary operating systems
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
It's quite late so i'll handle that tomorrow but thanks for all your help
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
thank you
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
I just bodge my way until it works 😺 👍
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Neither 💀
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
Sorry i get these are quite nooby questions, it'd be mildly easier if i had access to standard visual studio tbh
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
my terminal is blank 🙃
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
it works, but it's requiring an input and i don't know where i can place it
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
I moved the program to Program.cs
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
still says the same
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
right, tysm
70 replies
CC#
Created by AJ on 10/13/2023 in #help
❔ System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
loose .cs file
70 replies