Console application (.Net Standard) not specified

I am using Visual Studio 2017 and trying to create a "console application (.Net standard)." This is no longer on the list of available projects when I do "File → New Project ..."

in visual studio

He was there a few minutes ago. It disappeared after creating the “Console Application (.Net Core)” and then uninstalled this application because I realized that I really want a standard application.

I deleted it by removing it from Visual Studio, then going to the file system and deleting it.

I tried running the installer and updating the 2017 installation. This did not help.

How can I get the "Console Application (.Net Standard)" available as the type of project to create?

[EDIT] I disabled and restarted visual studio.

[EDIT] devenv /installvstemplates, devenv . : C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE. ? [ - ?]

[EDIT] : "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" /installvstemplates The operation could not be completed. The requested operation requires elevation..

[EDIT] : runas /user:Administrator "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe" /installvstemplates RUNAS.

[EDIT] powershell :

PS C:\Windows\system32> 'C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv' /installvstemplates
At line:1 char:75
+ ... iles (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv' /installv ...
+                                                                  ~
You must provide a value expression following the '/' operator.
At line:1 char:75
+ ... \Microsoft Visual Studio 14.0\Common7\IDE\devenv' /installvstemplates
+                                                        ~~~~~~~~~~~~~~~~~~
Unexpected token 'installvstemplates' in expression or statement.
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : ExpectedValueExpression

[EDIT] , &. devenv.

[EDIT] , " (.Net Standard)" :

+4
2

.NET Standard.

.NET Standard, #..NET Standard - , .NET Framework,.NET Core ..NET Standard , .

, Visual Studio .NET Standard. .NET Framework .NET Core, .NET Standard.

+7

Installed → Visual # → Windows Classic Desktop:

enter image description here

-2

Source: https://habr.com/ru/post/1684082/


All Articles