Prepare to publish a project. There is no publish in Build, as shown in the following figure: After
studying for a long time, I can't find a good way. Only publish through the command line. Enter the directory where sln is located before typing the command. The detailed commands are as follows:
1. dotnet --info #获取RID(用于第三步)
2. dotnet build
3. dotnet publish -r win10-x64 -c Release --self-contained # win10-x64是RID
There should be a configuration item in Visual Studio that can add publish, I hope the great god will leave a message to correct me