Skip to content

FAQ

Symptoms, causes and fixes that follow from the code of this repository, then known limitations and common questions.

On this page

Troubleshooting

The solution does not restore or build: a project reference cannot be found. The projects reference the sibling repositories by relative path (..\..\..\klyroo-ui\...). Clone klyroo-ui, klyroo-query, klyroo-table, klyroo-form, klyroo-dashboard, klyroo-display, klyroo-spreadsheet and klyroo-agent in the same parent folder as klyroo-stack, then build again. CONTRIBUTING.md shows the layout.

The page renders without styles, or the components look unstyled. The stylesheets are not loaded. Add klyroo.preflight.css and klyroo.css from _content/Klyroo.UI/ and klyroo-stack.css from _content/Klyroo.Stack/ to the <head> of App.razor, as in Getting started. If the stylesheets load but spacing or colors are wrong, check for Bootstrap or another stylesheet that sits outside CSS layers: it overrides the layered CSS of Tailwind v4. Remove it or import it into a layer (@import url(bootstrap.css) layer(bootstrap);).

A utility class in my own markup (md:grid-cols-2, space-y-6) does nothing. The precompiled sheets only hold the classes the Klyroo components use, and nothing compiles the classes of your pages. Write the rule in your own stylesheet, or compile Tailwind in the app: Style a generated app.

The header navigation or a search field looks wrong although all the sheets load. An old klyroo-stack.css repeated utility rules that klyroo.css already holds, and the later copy overrode rules between them. Update Klyroo.Stack: the sheet now holds only what klyroo.css lacks.

A KlyButton with OnClick does nothing. In static server rendering there is no circuit, so a .NET click handler cannot run. Render the page interactively (@rendermode InteractiveServer, WebAssembly or Auto), or use Href or a form post for the action.

Components change appearance after the page loads, in an app with a WebAssembly client. The server and the client registered different options. Call AddKlyrooStack() in both Program.cs files with the same configuration, ideally through one shared method: Share options between the server and the WebAssembly client.

InvalidOperationException when changing Klyroo.Table messages or themes. The options freeze once components start resolving themes and texts, because each locale's result is cached. Move the change into the configureUi or configureTable callback of AddKlyrooStack(), before the app renders.

A form drawer or file preview never appears. The overlays render through KlyFormProvider and KlyFilePreviewProvider. Put both inside <KlyApp>, in the layout or in Routes.razor, as the templates and the tutorial do.

The MCP server exits immediately with exit code 2. You passed an option it does not know, or a name in --tools that is not a tool. Run klyroo-stack-mcp --list-tools for the valid names. The message on stderr says which argument was rejected.

The MCP server says "No component named ...". The component is not in the bundle. Component pages cover Klyroo.UI and the Klyroo.Table components that the documentation site describes; the other libraries are documented as pages (/form/docs/guides, /dashboard/docs/api-reference and so on), which search-documentation finds.

Known limitations

  • The MCP server has component pages (parameters, events, examples) for Klyroo.UI and Klyroo.Table only. The other libraries are covered by their Markdown documentation pages.
  • The MCP server answers from the documentation bundled at build time. It does not see newer components until the tool is rebuilt and republished.
  • Klyroo.Stack does not include Klyroo.Query.EntityFrameworkCore, Klyroo.UI.Server, Klyroo.UI.Images, Klyroo.Form.DataAnnotations, Klyroo.Agent.AI or the optional server-side Klyroo.Hotkey library. Add them when you need EF Core execution, the server-side cookies for static rendering, the image pipeline, forms that read the data annotation attributes of your models, the agent bridge as Microsoft.Extensions.AI functions, or Hotkey cloud browsers.
  • KlyrooStackCatalog lists the main types of each library bundled by Klyroo.Stack, not every component.
  • The static documentation site is published on GitHub Pages (docs-site/); the separate interactive Blazor demo app under site/ is run locally, as described in the README.
  • MAUI Blazor Hybrid support is verified on Android only, according to the Klyroo.UI documentation. See Platforms.

Questions

Should I install Klyroo.Stack or the libraries one by one? Install Klyroo.Stack for an app that uses most of the libraries, and individual libraries when you need one or two. The registration of the meta-package is the same list of calls you would write by hand, so you can start with it and switch later without changing code.

Does Klyroo.Stack.Core work without Blazor? Yes. It references only the .Core projects, which have no package or framework references, so it works in a console app, a worker or a test project.

Which versions go together? The hub and the libraries are versioned independently. This hub is at 0.1.0-preview.1 (build/Version.props) and the templates reference Klyroo.Stack at that version. While the version is 0.x, minor versions may contain breaking changes, listed in the changelog.

Where are the benchmarks? In Benchmarks, with the command that reproduces them.