You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Docs][Validation] Docs Information/Guidance missing/incomplete: Missing UnoFeatures Entry for (any) Validation, tell about need for manual Package import! Not working docs! #2883
Either fix Docs: Update Validation docs to explicitly state that <UnoFeatures>Extensions</UnoFeatures> does currently not include Validation and users must add <PackageReference Include="Uno.Extensions.Validation" Version="..." /> (and Uno.Extensions.Validation.Fluent if needed),
Or Fix SDK: Implement Validation implicit package support (new UnoFeature.csValidation Entry or include Uno.Extensions.Validation* under Extensions defaults), so the docs statement becomes true.
How to reproduce it (as minimally and precisely as possible)
Create a new Uno app e.g. using the VS 2026 Wizard e.g. starting from the "Recommended" template or: dotnet new unoapp should result in the same
Add the UnoFeature Extensions or if the user did not read the docs, he could assume Validation as conventional entry.
Add the .UseValidation() as described in your docs to the HostBuilder
Environment
For bug reports Check one or more of the following options with "x"
(Which options? here are no options listed in the Bug Report Template, sorry...)
Nuget Package (s):
Uno Features normally make additional PackageReference usages obsolete, if this would work!
Package Version(s):
Tryed with Uno.Sdk:
6.0.146
6.1.23 - no change
6.5.31
Affected platform(s):
Build tasks
IDE:
2019 (version: )
2022 (version: 17.14.23)
2026 (version: 18.4.0)
Visual Studio Code (version: )
Rider Windows (version: )
Rider macOS (version: )
Relevant plugins:
Resharper (version: )
Anything else we need to know?
Missing but interesting Informations too:
Requires Uno.Extensions.Configuration ConfigBuilder and Options(-Builder?) via Section() ?
Can we use it independant to Uno's Config/Options Extensions in the regular MS OptionsBuilder?
since we have the IOptions (UnoFeature Configuration) extension, I would like to use the FluentValidation Extension of course for exactly this, to validate my Options just like we can do with the bare Microsoft.Extensions. Since Uno is kind of shadowing the Configuration import, which means, we can use the overload with result of name string, Func<HostBuilderContext,IConfigurationSection> configurationSection but to normally use FluentValidation e.g. through FluentValidation.DependencyInjectionExtensions we are required to not use the UnoFeatures Configuration (with configBuilder.Section<TOptions> then through the ConfigureServices and AddOptions etc like this:
this last one is an Extension I created along a MVP YouTube Video who does this for Asp.Net Core.
its not possible for me, to use this with the UnoFeatures provided things. If you want to, you are interested in what I am trying to do with this, you can find the src code here in this folder in my Repo
changed the title [-][Validation] What happened with Validation in Uno Apps?[/-][+][Validation] UnoFeature for Validation is not available, manual Package import is needed[/+]on Sep 26, 2025
@MartinZikmund not knowing of the behinds of our UnoFeatures, but as they are located in the Uno Core Repo, I would assume you could check if somebody removed the required things in there? the sdk tells that it doesnt knows about this UnoFeature 🤔
Maybe a quick fix if its just a re-adding of a name?
the Validation Test Project in Extensions Repo here in its local clone seems to not have a problem at all, but it does directly reference it, not via UnoFeature 😅
changed the title [-][Validation] UnoFeature for Validation is not available, manual Package import is needed[/-][+][Docs][Validation] Docs Information/Guidance missing/incomplete: Missing UnoFeatures Entry for (any) Validation, tell about need for manual Package import! Not working docs![/+]on Mar 13, 2026
Activity
DevTKSS commentedon Sep 14, 2025
Workaround
Only known Workaround is to nuget import the Package the "old" way without the UnoFeatures usage:
DirectoryPackages.props:
csproj:
then its available as described in the docs:
Question to the package contents
since we have the IOptions (UnoFeature Configuration) extension, I would like to use the FluentValidation Extension of course for exactly this, to validate my Options just like we can do with the bare Microsoft.Extensions. Since Uno is kind of shadowing the Configuration import, which means, we can use the overload with result of
name string, Func<HostBuilderContext,IConfigurationSection> configurationSectionbut to normally use FluentValidation e.g. throughFluentValidation.DependencyInjectionExtensionswe are required to not use the UnoFeatures Configuration (withconfigBuilder.Section<TOptions>then through the ConfigureServices andAddOptionsetc like this:this last one is an Extension I created along a MVP YouTube Video who does this for Asp.Net Core.
its not possible for me, to use this with the UnoFeatures provided things. If you want to, you are interested in what I am trying to do with this, you can find the src code here in this folder in my Repo
[-][Validation] What happened with Validation in Uno Apps?[/-][+][Validation] UnoFeature for Validation is not available, manual Package import is needed[/+]DevTKSS commentedon Oct 30, 2025
@MartinZikmund not knowing of the behinds of our UnoFeatures, but as they are located in the Uno Core Repo, I would assume you could check if somebody removed the required things in there? the sdk tells that it doesnt knows about this UnoFeature 🤔
Maybe a quick fix if its just a re-adding of a name?
the Validation Test Project in Extensions Repo here in its local clone seems to not have a problem at all, but it does directly reference it, not via UnoFeature 😅
[-][Validation] UnoFeature for Validation is not available, manual Package import is needed[/-][+][Docs][Validation] Docs Information/Guidance missing/incomplete: Missing UnoFeatures Entry for (any) Validation, tell about need for manual Package import! Not working docs![/+]DevTKSS commentedon Mar 13, 2026
@Jen-Uno @MartinZikmund @jeromelaban Updated the OP, hoping for anyone tackling this