Skip to content

Add option to RazorPageGenerator for #line preprocessor directives #27765

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

Merged
merged 1 commit into from
Nov 12, 2020

Conversation

dougbu
Copy link
Contributor

@dougbu dougbu commented Nov 12, 2020

  • avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
    • will soon override Arcade's $(MicrosoftCodeAnalysisCSharpVersion)
  • use new option in GeneratePage.ps1 script
    • script also did not know RazorSyntaxGenerator had moved to this repo
  • reflect latest RazorSyntaxGenerator processing
    • run GeneratePage.ps1
    • update README.md

nits:

  • quote all paths in GeneratePage.ps1 script
  • remove passive voice in README.md

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - will soon override Arcade's `$(MicrosoftCodeAnalysisCSharpVersion)`
- use new option in GeneratePage.ps1 script
  - script also did not know `RazorSyntaxGenerator` had moved to this repo
- reflect latest `RazorSyntaxGenerator` processing
  - run GeneratePage.ps1
  - update README.md

nits:
- quote all paths in GeneratePage.ps1 script
- remove passive voice in README.md
@dougbu dougbu added this to the 6.0-preview1 milestone Nov 12, 2020
@dougbu dougbu requested review from halter73, Tratcher and a team November 12, 2020 06:57
@dougbu dougbu merged commit 1a241fc into master Nov 12, 2020
@dougbu dougbu deleted the dougbu/razor.page.generator.option branch November 12, 2020 18:36
dougbu added a commit that referenced this pull request Jan 4, 2021
…ssor directives (#27765)

- cherry-picked from 1a241fc in 'master' branch

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - we override Arcade's `$(MicrosoftCodeAnalysisCSharpVersion)`
- use new option in GeneratePage.ps1 script
  - script also did not know `RazorSyntaxGenerator` had moved to this repo
- reflect latest `RazorSyntaxGenerator` processing
  - run GeneratePage.ps1
  - update README.md

nits:
- quote all paths in GeneratePage.ps1 script
- remove passive voice in README.md
wtgodbe pushed a commit that referenced this pull request Jan 13, 2021
…ssor directives (#27765) (#29024)

- cherry-picked from 1a241fc in 'master' branch

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - we override Arcade's `$(MicrosoftCodeAnalysisCSharpVersion)`
- use new option in GeneratePage.ps1 script
  - script also did not know `RazorSyntaxGenerator` had moved to this repo
- reflect latest `RazorSyntaxGenerator` processing
  - run GeneratePage.ps1
  - update README.md

nits:
- quote all paths in GeneratePage.ps1 script
- remove passive voice in README.md
dougbu added a commit that referenced this pull request Jun 10, 2021
- was "Add option to `RazorPageGenerator` for `#line` preprocessor directives (#27765) (#29024)"
- cherry-picked from d546861 in 'release/5.0' branch
  - was cherry-picked from 1a241fc in 'main' branch

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - problem seems specific to local builds of this branch
- no tooling changes because `RazorPageGenerator` is in aspnetcore-tooling for 3.1
- change amounts to running 'release/5.0' or 'main' version of tool in this branch
  - ErrorPage.cshtml files in three branches were identical at time of previous commits
    ('main' version of ErrorPage.cshtml recently for nullability)
dougbu added a commit that referenced this pull request Jun 10, 2021
- was "Add option to `RazorPageGenerator` for `#line` preprocessor directives (#27765) (#29024)"
- cherry-picked from d546861 in 'release/5.0' branch
  - was cherry-picked from 1a241fc in 'main' branch

- avoid new CS1504 errors because compiler can't find the ErrorPage.cshtml file
  - problem seems specific to local builds of this branch
- no tooling changes because `RazorPageGenerator` is in aspnetcore-tooling for 3.1
- change amounts to running 'release/5.0' or 'main' version of tool in this branch
  - ErrorPage.cshtml files in three branches were identical at time of previous commits
    ('main' version of ErrorPage.cshtml recently for nullability)
@amcasey amcasey added the area-hosting Includes Hosting label Jun 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-hosting Includes Hosting
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants