Problem description:
The problem appears when I’m trying to create a console application through terminal in folder using dotnet new console
or dotnet new console --use-program-main
commands(I’ve tried only these two).
Microsoft Visual Studio Community 2022 (64-bit) – Current Version 17.10.5**
SDK version: 8.0.303**
Nothing custom wasn’t installed just packages I need
I know that I can create console application through built-in function, but I was using VS Code for a while, that’s why I decided to repeat the creation pattern from there.
On the screenshot I missed register, but there aren’t any red squiggles to recall me that I made a mistake
Packages I’ve installed: ASP.NET, Azure, classic .NET aplications, data storage and processing.
My .csproj file:
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>
What have I tried:
Mostly that was something plain like reloading and reinstalling(so I assume that everything booted properly)
jun4ever is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.