C
C#9mo ago
Tim

❔ Portable DotNet SDK

Is there any way to install the DotNet SDK (+ Runtime) on an USB-Stick?
19 Replies
Mayor McCheese
Mayor McCheese9mo ago
I don't think it's well supported, iirc you can but you need so set some environment variables. This apparently also changed as of .net 7 https://learn.microsoft.com/en-us/dotnet/core/compatibility/deployment/7.0/multilevel-lookup
Mayor McCheese
Mayor McCheese9mo ago
u:\dotnet\dotnet.exe <your-dll>
I picked a random drive letter, u for usb. NB: I've done no testing on this.
Tim
Tim9mo ago
Uh Bruh, I've not tought that far, that there is a way that there are prebuild Binaries catfacepalm
Mayor McCheese
Mayor McCheese9mo ago
yeah it should be easier with 7 than pre7 because of the env vars ( or lack thereof )
MODiX
MODiX9mo ago
Use the /close command to mark a forum thread as answered
Tim
Tim9mo ago
Any idea how to fix this? The error is german for something like "Error while running application "dotnet.exe": The specified runnable file isn't a valid application for this Operatingsystemplatform. In Line:1 Character:1"
No description
Mayor McCheese
Mayor McCheese9mo ago
what OS are you on? err what binaries did you download
arion
arion9mo ago
Just saying, you likely arnt running an arm64 architecture.
arion
arion9mo ago
I'd suggest x64 or x86 a normal computer usually runs x86 or x64 servers / phones / dedicated devices usually have arm cpus
Mayor McCheese
Mayor McCheese9mo ago
ooof I could barely read that on my screen
arion
arion9mo ago
Ctrl + + increases discord's entire font size Ctrl + - reduces it nod
Mayor McCheese
Mayor McCheese9mo ago
TIL
Tim
Tim9mo ago
Windows Hm, I tought my Surface had an arm I'll test the other executables later 👍
Tim
Tim9mo ago
Yooooo, seems like it works now, thanks!
No description
Tim
Tim9mo ago
Do I need other requirements than the sdk itself to compile and run programs?
Mayor McCheese
Mayor McCheese9mo ago
Noish Using just binaries will make a lot of assisted dev harder; IDEish support will be somewhat limited if you can even kluge it out.
Accord
Accord9mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.