Wagi
Wagi
CC#
Created by Wagi on 4/18/2024 in #help
✅ GetGlobalApplicationCommandsAsync exception
Nevermind, the bot was still connecting when this was attempted. I thought await would before DiscordSocketClient.StartAsync() did wait until the bot was connected.
4 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
I see, thank you for your time and knowledge
69 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
Alright, that's where I got confused.
69 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
Well, I want to debug on Windows using the debugger and release on Linux. So I don't need the pdb for Linux but doesn't Visual Studio need them to debug ?
69 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
Would this be correct commands ?
dotnet publish --configuration Debug --output <mypath> --self-contained true --runtime win-x64 -p:PublishSingleFile=true
dotnet publish --configuration Debug --output <mypath> --self-contained true --runtime linux-x64 -p:PublishSingleFile=true
dotnet publish --configuration Release --output <mypath> --self-contained true --runtime win-x64 -p:PublishSingleFile=true
dotnet publish --configuration Release --output <mypath> --self-contained true --runtime linux-x64 -p:PublishSingleFile=true
dotnet publish --configuration Debug --output <mypath> --self-contained true --runtime win-x64 -p:PublishSingleFile=true
dotnet publish --configuration Debug --output <mypath> --self-contained true --runtime linux-x64 -p:PublishSingleFile=true
dotnet publish --configuration Release --output <mypath> --self-contained true --runtime win-x64 -p:PublishSingleFile=true
dotnet publish --configuration Release --output <mypath> --self-contained true --runtime linux-x64 -p:PublishSingleFile=true
Where would I place them within Visual Studio ?
69 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
Hey, That sounds more like what I was looking for indeed. That said, I'm quite a newbie with C#. What are CI, CD, and CLI ? CLI (command line interpreter ?) I had seen the RID possibilities but I think I didn't get it to work in the .csproj file. That said the a command line doing it all is perfect. Where do I place the commands to keep using the interface and not the console ? How do I chain commands with dotnet ?
69 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
Alright, thank you for your time
69 replies
CC#
Created by Wagi on 4/14/2024 in #help
✅ Build on Windows for Windows and Linux simultaneously
I see thank you. Do I have to make a new Profile (.pubxml) for each configuration and platform ? It seems I cannot set multiple values for the Target's location, framework, runtime and configuration Or can I edit the Profile (.pubxml) file to achieve that ?
69 replies