Visual Studio 2017 and a missing EXE file

前端 未结 1 1510
走了就别回头了
走了就别回头了 2020-12-10 07:30

(I am using Visual Studio 2017.)

I started a small console application. A Discord C# bot. So I always launched this program with Visual Studio. After finishing it, I

相关标签:
1条回答
  • 2020-12-10 08:18

    There is no exe file because you created a .NET Core application.

    You have two options:

    1. If you want an EXE, you need to target the .NET Framework.
    2. If you don't want to change your code, then you need to install .NET Core on the server and run dotnet pathToDll on a command line
    0 讨论(0)
提交回复
热议问题