Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No mention of RazorLangVersion on this page even though warnings point to this page about it #12142

Closed
Eilon opened this issue Apr 24, 2019 — with docs.microsoft.com · 2 comments · Fixed by #12709
Closed
Assignees
Labels
Blazor Pri1 High priority, do before Pri2 and Pri3
Projects

Comments

Copy link
Member

Eilon commented Apr 24, 2019

I'm building a project that uses .razor files for the purpose of #blazing and I got this warning:

Warning RAZORSDK1005 One or more Razor component files (.razor) were found, but the project is not configured to compile Razor Components. Configure the project by targeting RazorLangVersion 3.0 or newer. For more information, see https://go.microsoft.com/fwlink/?linkid=868374

If you go to https://go.microsoft.com/fwlink/?linkid=868374, it takes you to this doc (https://docs.microsoft.com/en-us/aspnet/core/razor-pages/sdk?view=aspnetcore-2.2), which doesn't mention RazorLangVersion at all.

It would be nice to have a mention of it, and showing where/how to put it in the CSPROJ.


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

@dotnet-bot dotnet-bot added the Source - Docs.ms Docs Customer feedback via GitHub Issue label Apr 24, 2019
@guardrex guardrex self-assigned this Apr 24, 2019
@guardrex guardrex added this to To do in May 2019 (4/29 to 6/2) via automation Apr 24, 2019
@guardrex guardrex added this to the 2019 Q2 ends June 30 milestone Apr 24, 2019
@Eilon
Copy link
Member Author

Eilon commented Apr 24, 2019

@danroth27 - this is the issue I was talking to you about.

@guardrex guardrex removed their assignment Apr 24, 2019
@hannespreishuber
Copy link

same issue here
trying to build a component library

Compiles, but can not be used by reference in Visual Studio Solution with both Projects.

Component builds, the dll is there, but is the .Razor included?

@guardrex guardrex self-assigned this May 5, 2019
@guardrex guardrex added this to Triage in Blazor.Docs via automation May 5, 2019
@guardrex guardrex removed this from To do in May 2019 (4/29 to 6/2) May 5, 2019
@guardrex guardrex removed the Source - Docs.ms Docs Customer feedback via GitHub Issue label May 23, 2019
@danroth27 danroth27 moved this from Triage to P0/P1 - High Priority in Blazor.Docs May 30, 2019
@guardrex guardrex added Pri1 High priority, do before Pri2 and Pri3 and removed DR labels May 30, 2019
@guardrex guardrex moved this from P0/P1 - High Priority to In progress in Blazor.Docs Jun 5, 2019
Blazor.Docs automation moved this from In progress to Done Jun 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blazor Pri1 High priority, do before Pri2 and Pri3
Projects
Archived in project
Blazor.Docs
  
Done
Development

Successfully merging a pull request may close this issue.

4 participants