Skip to content

Radzen.Blazor build failures and components not rendering in Visual Studio 17.6 #981

@blake-fm

Description

@blake-fm

Describe the bug
Radzen.Blazor fails build, and has other real cute silent failures, when using Visual Studio 17.6 (Release -- the old preview worked just fine). Releated to razor issue #8718.

To Reproduce
Steps to reproduce the behavior:

  1. Download source
  2. Build source with VS 17.6

Expected behavior
Source builds.

Workaround
I've added some comments on #8718 with my workarounds. Additionally, any components like tick.razor that have neither a .razor.cs file, nor anything other than a @code{} block, would simply not be called. No errors, no warnings - the code was simply never called.

I resolved the Tick part by turning tick.razor into tick.cs; something like:

public partial class Tick : ComponentBase {
    // Insert copy/pasta from tick.razor
}

Hope this helps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions