简体   繁体   English

我需要在 Visual Studio Code 中创建一个新的 c# 文件

[英]I need to create a new c# file in Visual Studio Code

I want to create a new console in vs code using the dotnet core but it prompts this:我想使用 dotnet 核心在 vs 代码中创建一个新的控制台,但它提示:

the error错误

1

If you know how to bypass this or find another way to create a new console then please help.如果你知道如何绕过这个或找到另一种方法来创建一个新的控制台,那么请帮忙。

使用dotnet new console --force

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

相关问题 如何使用 Visual Studio Code 创建新的可执行 C# 项目 - How to create a new executable C# project with Visual Studio Code 使用 Visual Studio Code 创建 C# .sln 文件 - Create C# .sln file with Visual Studio Code Visual Studio Express 2013-创建单独的C#代码文件? - Visual Studio Express 2013 - Create separate c# code file? C#Visual Studio创建安装文件 - C# Visual Studio Create Setup file 我需要做什么才能使我的 C# 代码在 Visual Studio for Mac 中运行 - What do I need to do to make my C# code run in Visual Studio for Mac 我需要在 Visual Studio 中使用代码 C# 从表值函数中获取 SQL 中的数据集 - I need to get the Dataset from SQL from Table Valued Function using code C# in visual studio 如何在我的 Visual Studio Code c# 项目中设置默认的 c# 文件? - How do I set the default c# file in my Visual Studio Code c# Project? 使用C#,如何以编程方式创建新的Visual Studio 2012解决方案? - Using C#, how do I create a new Visual Studio 2012 Solution programmatically? C#:当我运行程序并且Visual Studio尝试创建一个新类时,第二个表单没有加载? - C#: Second form is not loading when I run the program and Visual Studio tries to create a new class? 使用Visual Studio离线创建新的Web应用程序C# - Create new web app offline c# using Visual Studio
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM