The type or namespace name 'ApplicationPartAttribute' does not exist in the namespace 'Microsoft.AspNetCore.Mvc.ApplicationParts' #27373
Labels
area-mvc
Includes: MVC, Actions and Controllers, Localization, CORS, most templates
Describe the bug
ERROR CS0234: The type or namespace name '
ApplicationPartAttribute
' does not exist in the namespace 'Microsoft.AspNetCore.Mvc.ApplicationParts
' (are you missing an assembly reference?)The above error is being thrown on the Blazor client project when a reference to
Microsoft.AspNetCore.Mvc.DataAnnotations.dll
exists on the shared project.To Reproduce
Microsoft.AspNetCore.Mvc.DataAnnotations.dll
[HiddenInput]
attribute in the shared projectFurther technical details
dotnet --info
:The text was updated successfully, but these errors were encountered: