C
C#4d ago
goated

How to build project to x86_64 format in visual studio?

I remember doing something like this a year ago but I completely forgot how to do this, and I couldn't even find any info in YouTube about building x86_64 Please help lol
2 Replies
goated
goatedOP4d ago
My goal is to run my c# project on a linux virtual machine(without the virtual machine needed the compiler), I forgot what I did last time, I think I might have run a dll instead
Sehra
Sehra4d ago
dotnet publish --runtime linux-x64 --self-contained will create a self-contained executable, you can also add --no-self-contained for a framework-dependant executable

Did you find this page helpful?