[英]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?有帮助吗?
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
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.