❔ Portable DotNet SDK
Is there any way to install the DotNet SDK (+ Runtime) on an USB-Stick?
19 Replies
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
u:\dotnet\dotnet.exe <your-dll>I picked a random drive letter, u for usb. NB: I've done no testing on this.
Uh
Bruh, I've not tought that far, that there is a way that there are prebuild Binaries
yeah it should be easier with 7 than pre7
because of the env vars ( or lack thereof )
Use the /close command to mark a forum thread as answered
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"
what OS are you on?
err what binaries did you download
I'd suggest x64 or x86
a normal computer usually runs x86 or x64
servers / phones / dedicated devices usually have arm cpus
ooof I could barely read that on my screen
Ctrl +
+
increases discord's entire font size Ctrl + -
reduces it TIL
Windows
Hm, I tought my Surface had an arm
I'll test the other executables later 👍
Yooooo, seems like it works now, thanks!
Do I need other requirements than the sdk itself to compile and run programs?
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.
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.