Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't figure out how to generate an exe file #2

Open
ni6hant opened this issue May 5, 2021 · 4 comments
Open

Can't figure out how to generate an exe file #2

ni6hant opened this issue May 5, 2021 · 4 comments

Comments

@ni6hant
Copy link

ni6hant commented May 5, 2021

Is the file written in C# and do I need to run Visual Code IDE to convert the file from C# to exe?
Or am I missing something here?

@ni6hant
Copy link
Author

ni6hant commented May 5, 2021

Update: I figured out how to make an exe file but it has a lot of other files with it.
image

@eNeRGy164
Copy link
Owner

Using dotnet publish you can give a cleaner output:

dotnet publish -r win10-x64 -p:PublishSingleFile=true

@eNeRGy164
Copy link
Owner

Or you can create a publish profile in the IDE:

image

image

@crisskumar
Copy link

How do I create Exe file? I have no programming skills

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants