简体   繁体   English

我没有找到 ASP.NET 核心 Web 应用程序(新项目与代码)

[英]I didn't found ASP.NET Core Web Application (New project vs code)

i wanted to follow a tutorial but when i want to create a new project with vs code, i have tried all the day to found "ASP.NET Core Web Application", i found "ASP.NET Core Web Application(.NET Framework), "ASP.NET Core Web App", ASP.NET Core Web App (model-view-controller) etc... I installed all the compenents, i don't understand, somebody can help me please? thanks enter image description here我想学习一个教程,但是当我想用 vs 代码创建一个新项目时,我整天都在尝试找到“ASP.NET Core Web 应用程序”,我找到了“ASP.NET Core Web 应用程序(.NET Framework) , "ASP.NET Core Web App", ASP.NET Core Web App (model-view-controller) 等等...

The components that you installed are part of the visual studio installation and not for visual studio code.您安装的组件是 Visual Studio 安装的一部分,不适用于 Visual Studio 代码。 So to create dotnet core web app in vscode you can follow this因此,要在 vscode 中创建 dotnet core web 应用程序,您可以按照操作

I suggest you use the dotnet cli.我建议你使用 dotnet cli。 The command should be dotnet new mvc , which you need to run in the root of your project.该命令应该是dotnet new mvc ,您需要在项目的根目录中运行它。 You need to specify the --framework flag if you want to use an earlier version of the framework.如果要使用较早版本的框架,则需要指定--framework标志。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Asp.NET 核心 web 应用程序在创建新项目时不显示 - Asp.NET Core web application not showing on creation of new project 在 VS Code 中使用实时预览调试 asp.net core mvc web 应用程序 - Debug asp.net core mvc web application with live preview in VS Code VS 2017 .NET 4.6.2新的ASP.NET核心Web应用程序(.NET Framework)默认为x86平台 - VS 2017 .NET 4.6.2 new ASP.NET Core Web Application (.NET Framework) defaults to x86 platform asp.net 核心 3.1 web 应用程序中未显示的代码参考 - References of code not showing in asp.net core 3.1 web application 为新的 WEB 项目重用已发布的旧 ASP.NET 代码 - Reuse old published ASP.NET code for new WEB project VS 2019 - ASP.NET Core MVC web 应用程序(用 C# 编写):全新项目出现多个错误 - VS 2019 - ASP.NET Core MVC web app (written in C#) : multiple errors on brand new project 为什么我无法在 ASP.NET Core 应用程序中添加新视图? - Why I can't get the new view added in the ASP.NET Core application? Javascript弹出消息在使用MasterPage的asp.net Web应用程序中不起作用 - Javascript popup message didn't work in asp.net web application using MasterPage asp.net Web应用程序中的文本框控件出现问题。 没有从文本框中获取文本以进行更新 - Problem with Textboxes control in asp.net web application. Didn't get text from textboxes for update ASP.NET Core Web Application(.NET Framework)项目模板缺少System.Web.MVC dll - ASP.NET Core Web Application (.NET Framework) project template is missing System.Web.MVC dll
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM