简体   繁体   English

如何添加 C# 扩展以在 Visual Studio 中创建新项目

[英]How to add C# extension to create a new project in visual studio

I have a small problem, I am currently using visual studio with an installed C++ compiler.我有一个小问题,我目前正在使用安装了 C++ 编译器的 Visual Studio。 Now I wanna create a GUI in C# for a code I have I want to open a windows form application.现在我想在 C# 中为代码创建一个 GUI,我想打开一个 windows 表单应用程序。 But when I try to create a new project, obviously there is no option to create one because the .net is not installed.但是当我尝试创建一个新项目时,显然没有创建一个选项,因为没有安装 .net。 I haven't found some simple explanation of how to add the extension of C# to create a C# application in visual studio.我还没有找到一些关于如何添加 C# 的扩展以在 Visual Studio 中创建 C# 应用程序的简单解释。 If someone knows how to do so, i'll be very thankful !如果有人知道该怎么做,我将非常感激! thanks in advance !提前致谢 !

If you've installed Visual Studio, you should have a program called "Visual Studio Installer" installed.如果你已经安装了 Visual Studio,你应该安装了一个名为“Visual Studio Installer”的程序。 From there you have the option to install, update and uninstall new packages.从那里您可以选择安装、更新和卸载新软件包。

Image for reference: https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fvisualstudio%2Finstall%2Fmedia%2Fvs-2019%2Fvs-installer-workloads.png%3Fview%3Dvs-2019&f=1&nofb=1图片供参考: https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fvisualstudio%2Finstall%2Fmedia%2Fvs-2019%2Fvs-installer -workloads.png%3Fview%3Dvs-2019&f=1&nofb=1

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

相关问题 如何在Visual Studio Code中以.csproj扩展名创建C#项目? - How to create C# project with .csproj extension in Visual Studio Code? 如何使用 Visual Studio Code 创建新的可执行 C# 项目 - How to create a new executable C# project with Visual Studio Code 如何在Visual Studio C中创建“项目概述”# - How do I create a “Project overview” in Visual Studio C# 如何在 Visual Studio 2022 中正确创建 C# WinUI 项目? - How to properly create a C# WinUI project in Visual Studio 2022? 如何使用 Visual Studio Code 创建 C# 项目? - How to create a C# project using Visual Studio Code? 默认情况下如何激活Visual Studio扩展VSIX C#项目的工具栏 - How to activate by default the toolbar for a Visual Studio extension VSIX C# project Visual Studio / Visio C#新项目helloWorld - Visual Studio/Visio C# New Project helloWorld 如何在Visual Studio C#中添加名称空间 - how to add namespaces in in visual studio c# 在 Visual Studio 中添加对 C++ 项目的新 DLL 引用 - Add new DLL reference to C++ project inside Visual Studio c#firestore在visual studio项目中添加时间戳字段 - c# firestore add timestamp field in visual studio project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM