.Net core webapi2.1 generates exe executable file

tags: C#  api  .net

.Net core webapi2.1 how to generate exe executable file

Note: Version 3.0 and above may not be applicable, I haven't tried it.
Reprinted in:original

Find the project root path, you can see the bin file here, open it with cmd, and you can go directly to its root directory.
Input: dotnet publish -c Release -r win-x64

dotnet publish: publish
-c: Release Create a Release folder under bin
-r win-x64: is the abbreviation of dotnet build --runtime win-x64, the command to generate exe file, here win-x64 seems to be just the name of a folder. It’s not clear for the time being.


Intelligent Recommendation

Java project generates an executable file (exe)

First, export the jar package 1. Make MF files. First, an MF file template is required. My way is from a jar package that I use, open it with a decompression tool, and you will see a .MF file in it, u...

JAVA project generates exe executable file

JAVA project export Jar package and generate exe executable file Steps 1. Generate jar package Generated in Eclipse environment: Right-click the JAVA project, select export, click JARfile, and then ne...

python code generates exe executable file

1. Write good code First write the required code, as well as the pictures used, etc., ready. 2. Install pyinstaller To package the program, you need to install a pyinstaller. I use pip to install and ...

Python generates exe executable file (py2exe)

C:\Users\Administrator>python -m pip install py2exe D:\Python\Python38\python.exe: No module named pip windows install pip C:\Users\Administrator>python -m ensurepip After installation, you will...

More Recommendation

C ++ calls the PB file and generates an executable EXE

Python source directly! I. Cat dog war model training and export model Import data and generate NPY data formats 2. Make normalization of the generated NPY data 3. Migrate models and train. Generate H...

Python generates a computer executable **. EXE file

1. Install Pyinstaller, in the CMD window, enter instructions "pip install pyinstaller"Make installation, because I have already installed, so prompts installed. 2. After the installation is...

Python generates executable EXE file and its flashback

1, install Pyinstaller Select an environment installation in Anaconda 2, enter the directory where you want to generate XX.py to generate executable files 3. Execute the following instructions in this...

Qt generates the problem encountered by executable file (exe)

1 Put the generated main.exe directly into another computer, and then report an error solution: This is because in the new computer, QT is not installed, so what should I do if the dynamic link librar...

Python project packaging generates .exe executable file

Project packaging Step 1: You need to install third-party modules first. Online installation method: pip install PyIntaller Step 2: Execute the packaging file Input: -F Path to generate python file \F...

Copyright  DMCA © 2018-2026 - All Rights Reserved - www.programmersought.com  User Notice

Top