with vs2022
file -> new project:
web & console:
app:
asp.net core
api
or from the shell:
% mkdir myproject
% cd myproject
% dotnet new webapi
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
A community member has associated this post with a similar question:
Cannot create new ASP.NET Core Web App on Visual Studio (Mac M1)
Only moderators can edit this content.
Hi!
I am having BIG issues with my visual studio. Using updated VS 2022.
I want to start a new web project (using ASP.NET Core Web API template), but I get only Empty Solution option in the File menu. What could be the problem?
Here's information on my dotnet versioning:
dotnet --info
ПАКЕТ SDK ДЛЯ .NET:
Version: 7.0.202
Commit: 6c74320bc3
Среда выполнения:
OS Name: Mac OS X
OS Version: 12.5
OS Platform: Darwin
RID: osx.12-arm64
Base Path: /usr/local/share/dotnet/sdk/7.0.202/
Host:
Version: 7.0.4
Architecture: arm64
Commit: 0a396acafe
.NET SDKs installed:
6.0.407 [/usr/local/share/dotnet/sdk]
7.0.202 [/usr/local/share/dotnet/sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.15 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 7.0.4 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.15 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Microsoft.NETCore.App 7.0.4 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]
Other architectures found:
x64 [/usr/local/share/dotnet/x64]
registered at [/etc/dotnet/install_location_x64]
Environment variables:
Not set
global.json file:
Not found
I expect to see the standard file menu, but I get the considerably limited menu. Please if you know how to fix it, let me know.
with vs2022
file -> new project:
web & console:
app:
asp.net core
api
or from the shell:
% mkdir myproject
% cd myproject
% dotnet new webapi