Skip to content

'RazorSourceGenerator' failed to generate source (NullReferenceException) #30442

Closed

Description

@halter73
CSC : error CS8785: Generator 'RazorSourceGenerator' failed to generate source. It will not contribute to the output and compilation errors may occur as a result. Exception was of type 'AggregateException' with message 'One or more errors occurred. (Object reference not set to an instance of an object.)' [D:\workspace\_work\1\s\src\Mvc\test\WebSites\BasicWebSite\BasicWebSite.csproj]

https://dev.azure.com/dnceng/public/_build/results?buildId=1009323&view=logs&j=3f6d4e0f-1b71-56b5-361e-d95b6e6da15a&t=9605d305-57d3-55b8-ba79-e50442d32137&l=2057

This happened building test projects for "Tests: Helix x64" for an aspnetcore-ci build on main. Unfortunately, I don't see a stack trace anywhere that might help track this down.

Activity

  1. added
    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates
    on Feb 24, 2021
  2. added and removed
    area-mvcIncludes: MVC, Actions and Controllers, Localization, CORS, most templates
    on Feb 25, 2021
  3. added this to the 6.0-preview3 milestone on Feb 25, 2021
  4. pranavkm commented on Feb 25, 2021

    @pranavkm
    Contributor

    @captainsafia putting this on your plate since you're already investigating this space.

  5. captainsafia commented on Feb 25, 2021

    @captainsafia
    Contributor

    @pranavkm Thanks! Meant to assign this when putting on the labels. I'm planning on tackling this as part of dotnet/sdk#16060

  6. added
    bugThis issue describes a behavior which is not expected - a bug.
    on Mar 11, 2021
  7. ghost added
    DoneThis issue has been fixed
    on Mar 15, 2021
  8. ghost removed on Mar 15, 2021
  9. ghost locked as resolved and limited conversation to collaborators on Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

DoneThis issue has been fixedbugThis issue describes a behavior which is not expected - a bug.

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions