Closed Gurzuf76 closed 3 years ago
Hi @Gurzuf76!
Could you please execute
dotnet --info
and copy the output?
And also the output of
dotnet new --list
Hi Natalia, thank you for your quick response! I’m using Github the first time and not sure if this is a right way to response to an GitHub email.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>dotnet
Usage: dotnet [options] Usage: dotnet [path-to-application]
Options: -h|--help Display help. --info Display .NET Core information. --list-sdks Display the installed SDKs. --list-runtimes Display the installed runtimes.
path-to-application: The path to an application .dll file to execute.
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>dotnet new blazorserver -o BlazorApp --no-https
Usage: new [options]
Options: -h, --help Displays help for this command. -l, --list Lists templates containing the specified name. If no name is specified, lists all templates. -n, --name The name for the output being created. If no name is specified, the name of the current directory is used. -o, --output Location to place the generated output. -i, --install Installs a source or a template pack. -u, --uninstall Uninstalls a source or a template pack. --nuget-source Specifies a NuGet source to use during install. --type Filters templates based on available types. Predefined values are "project", "item" or "other". --dry-run Displays a summary of what would happen if the given command line were run if it would result in a template creation. --force Forces content to be generated even if it would change existing files. -lang, --language Filters templates based on language and specifies the language of the template to create.
No templates matched the input template name: blazorserver.
Console Application console [C#], F#, VB Common/Console Class library classlib [C#], F#, VB Common/Library Unit Test Project mstest [C#], F#, VB Test/MSTest NUnit 3 Test Project nunit [C#], F#, VB Test/NUnit NUnit 3 Test Item nunit-test [C#], F#, VB Test/NUnit xUnit Test Project xunit [C#], F#, VB Test/xUnit Razor Page page [C#] Web/ASP.NET MVC ViewImports viewimports [C#] Web/ASP.NET MVC ViewStart viewstart [C#] Web/ASP.NET ASP.NET Core Empty web [C#], F# Web/Empty ASP.NET Core Web App (Model-View-Controller) mvc [C#], F# Web/MVC ASP.NET Core Web App webapp [C#] Web/MVC/Razor Pages ASP.NET Core with Angular angular [C#] Web/MVC/SPA ASP.NET Core with React.js react [C#] Web/MVC/SPA ASP.NET Core with React.js and Redux reactredux [C#] Web/MVC/SPA Razor Class Library razorclasslib [C#] Web/Razor/Library/Razor Class Library ASP.NET Core Web API webapi [C#], F# Web/WebAPI global.json file globaljson Config NuGet Config nugetconfig Config Web Config webconfig Config Solution File sln Solution
Examples: dotnet new mvc --auth Individual dotnet new angular dotnet new –help
Norik Kazaryan / Database Analyst Pacific Clinics Admin Offices Claims Analytics and Reports Department @.**@.>
From: Natalia Kondratyeva @.> Sent: Tuesday, October 5, 2021 11:41 AM To: dotnet/core @.> Cc: Norik Kazaryan @.>; Mention @.> Subject: Re: [dotnet/core] Blazor (#6765)
CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
Hi @Gurzuf76https://github.com/Gurzuf76! Could you please execute dotnet --info and copy the output? And also the output of dotnet new --list
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/dotnet/core/issues/6765#issuecomment-934670310, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMWFG3UFRQ7MV2T3BRZVRD3UFNBD3ANCNFSM5FMKFSYQ. Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
[http://www.pacificclinics.org/sites/default/files/images/facebook.png] http://www.facebook.com/PacificClinics [http://www.pacificclinics.org/sites/default/files/images/twitter.png] https://twitter.com/PacificClinics [http://www.pacificclinics.org/sites/default/files/images/youtube.png] http://www.youtube.com/PacificClinics1926
www.PacificClinics.org - Advancing Behavioral Healthcare www.MYPCTI.org - Continuing Education and Workforce Development for Behavioral Healthcare www.HealthNavigation.org - Certification Training for Peers and Paraprofessionals
Pacific Clinics Privacy Notice: This message, and any attachments, is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential, or exempt from disclosure under federal or state law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender and destroy this e-mail and all attachments from your system. (W&I Code, Section 5328, 45 CFR 160 & 164).
This is the right way @Gurzuf76 but we need the output of running dotnet --info
and dotnet new --list
. Can you send that?
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>dotnet --info .NET Core SDK (reflecting any global.json): Version: 2.2.109 Commit: 586f23c400
Runtime Environment: OS Name: Windows OS Version: 10.0.19042 OS Platform: Windows RID: win10-x64 Base Path: C:\Program Files\dotnet\sdk\2.2.109\
Host (useful for support): Version: 2.2.7 Commit: b1e29ae826
.NET Core SDKs installed: 2.1.202 [C:\Program Files\dotnet\sdk] 2.1.526 [C:\Program Files\dotnet\sdk] 2.2.109 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed: Microsoft.AspNetCore.All 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.All 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All] Microsoft.AspNetCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.AspNetCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App] Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.1.30 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App] Microsoft.NETCore.App 2.2.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
To install additional .NET Core runtimes or SDKs: https://aka.ms/dotnet-download
C:\Program Files (x86)\Microsoft Visual Studio\2017\Community>dotnet new --list Usage: new [options]
Options: -h, --help Displays help for this command. -l, --list Lists templates containing the specified name. If no name is specified, lists all templates. -n, --name The name for the output being created. If no name is specified, the name of the current directory is used. -o, --output Location to place the generated output. -i, --install Installs a source or a template pack. -u, --uninstall Uninstalls a source or a template pack. --nuget-source Specifies a NuGet source to use during install. --type Filters templates based on available types. Predefined values are "project", "item" or "other". --dry-run Displays a summary of what would happen if the given command line were run if it would result in a template creation. --force Forces content to be generated even if it would change existing files. -lang, --language Filters templates based on language and specifies the language of the template to create.
Console Application console [C#], F#, VB Common/Console Class library classlib [C#], F#, VB Common/Library Unit Test Project mstest [C#], F#, VB Test/MSTest NUnit 3 Test Project nunit [C#], F#, VB Test/NUnit NUnit 3 Test Item nunit-test [C#], F#, VB Test/NUnit xUnit Test Project xunit [C#], F#, VB Test/xUnit Razor Page page [C#] Web/ASP.NET MVC ViewImports viewimports [C#] Web/ASP.NET MVC ViewStart viewstart [C#] Web/ASP.NET ASP.NET Core Empty web [C#], F# Web/Empty ASP.NET Core Web App (Model-View-Controller) mvc [C#], F# Web/MVC ASP.NET Core Web App webapp [C#] Web/MVC/Razor Pages ASP.NET Core with Angular angular [C#] Web/MVC/SPA ASP.NET Core with React.js react [C#] Web/MVC/SPA ASP.NET Core with React.js and Redux reactredux [C#] Web/MVC/SPA Razor Class Library razorclasslib [C#] Web/Razor/Library/Razor Class Library ASP.NET Core Web API webapi [C#], F# Web/WebAPI global.json file globaljson Config NuGet Config nugetconfig Config Web Config webconfig Config Solution File sln Solution
In order for the tutorial to work, you need to install the SDK that we show there (.NET 5). The one you have installed (.NET Core 2.1) doesn’t contain the templates for Blazor. Let us know if you have other questions.
Problem encountered on https://dotnet.microsoft.com/learn/aspnet/blazor-tutorial/create Operating System: windows 10
After entering command "dotnet new blazorserver -o BlazorApp --no-https" to install Blazor I got following error message: No templates matched the input template name: blazorserver.