I want to know how to produce a c# executable file on Linux as when I build all I get is a DLL file in the bin folder that I don’t know how to execute.
Note: I’m using vscode as my code editor and Manjaro is my Linux distro.
Question posted in Visual Studio Code
View the official documentation.
View the official documentation.
2
Answers
Did you try command?
I guess a Publish Profile is What You are looking for.
Add a file named MyPublishProfile.pubxml to your project with this content:
save it and edit it (follow the provided links). then you can run
dotnet publish -p:publishProfile=MyPublishProfile
then you should have your excecutable. maybe you have to chmode it. you can read more here