简体   繁体   English

未显示 Visual Studio 2019 空白解决方案模板

[英]Visual Studio 2019 Blank Solution template is not showed

I am using Visual Studio 2019 for a C# bootcamp.我在 C# 训练营中使用 Visual Studio 2019。 The tutor can create a blank solution with some steps but When I apply the same steps, I can not see Blank Solution.导师可以通过一些步骤创建一个空白解决方案,但是当我应用相同的步骤时,我看不到空白解决方案。 How Can I create a Blank Solution?如何创建空白解决方案?

Any Help?有帮助吗?

这是我的视觉工作室截图

显示我的 Visual Studio 工具 1 的图像

显示我的 Visual Studio Tools 2 的图像

I guess it's a bug about Visual Studio 2019. After 4 hours I restart my pc and reopen the Visual Studio for finding a solution.我猜这是关于 Visual Studio 2019 的错误。4 小时后,我重新启动我的电脑并重新打开 Visual Studio 以寻找解决方案。 Despite I did not change anything, The Blank Solution part appears.尽管我没有更改任何内容,但出现了空白解决方案部分。

不要搜索搜索者的结论不正确只需滚动您会发现在此处输入图像描述

That happened to me earlier on.那件事发生在我早些时候。 If the blank solution option doesn't show or it says it cannot be found as a result of your search.如果未显示空白解决方案选项,或者它说由于您的搜索而无法找到它。 Just close down Visual Studio and reopen it and should reappear.只需关闭 Visual Studio 并重新打开它,它就会重新出现。

We can use cli in this situation我们可以在这种情况下使用 cli

The following example creates a.sln file in the current folder, with the same name as the folder:以下示例在当前文件夹中创建一个与文件夹同名的 .sln 文件:

dotnet new sln

https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-sln https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet-sln

You mighy want to try this button.你可能想试试这个按钮。 It worked for me.它对我有用。 在此处输入图像描述

In Visual Studio 2022, select "Other"...在 Visual Studio 2022 中,select“其他”...

在此处输入图像描述

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

相关问题 适用于 Autocad 的 Visual Studio 2019 中的模板 - Template in Visual Studio 2019 for Autocad Visual Studio 2019 解决方案中的最大项目数量 - Maximum amount of projects in visual studio 2019 solution 通用Visual Studio解决方案模板 - Generic Visual studio solution template MSBuildWorkspace:解决方案在Visual Studio 2019上不包含任何文档和项目 - MSBuildWorkspace : solution contains no documents and no projects on Visual Studio 2019 如何在 Visual Studio 2019 中更新 .sln(解决方案)文件 - How to update .sln (solution) file within Visual Studio 2019 Go 在 Visual Studio 2019 中的多解决方案环境中获取资源 - Go to source in a multi solution enviroment in Visual Studio 2019 在 Visual Studio 2019“解决方案资源管理器”中看不到“参考”文件夹 - cannot see “References” folder in Visual Studio 2019 “Solution Explorer” 将自定义项模板添加到 Visual Studio 解决方案 - Add custom Item Template to Visual Studio Solution 在Visual Studio项目模板中创建解决方案文件夹 - Create a Solution Folder in a Visual Studio Project Template 将解决方案文件夹添加到visual studio项目模板 - Add solution folder to visual studio project template
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM