DotNet6 - 不创建 EXE 的项目

DotNet6 - projects not creating EXE

安装 VS2022 后出现此问题,所以我一直在进行故障排除。目前,我没有安装 Visual Studio。

Windows 10

Installed .net 6 sdk 
dotnet new console 
dotnet build 

  Determining projects to restore...
  All projects are up-to-date for restore.
  net6console -> D:\net6console\bin\Debug\net6.0\net6console.dll

从不 创建 EXE 文件。 . 知道是什么原因造成的吗?

如果您检查 bin 文件夹,您会看到已创建 exe 文件。

我完全删除了所有 .net SDK,重新启动,安装 Net 6.0.3 SDK,它可以很好地创建和构建,并生成 exe