© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
8 replies
Simon

❔ StringSyntax attribute not available

Yesterday I updated VS to the latest version and installed .NET SDK 7 but whenever I try to use
[StringSyntax(StringSyntaxAttribute.Regex)]
[StringSyntax(StringSyntaxAttribute.Regex)]
on a parameter, VS doesn't seem to be able to find it for importing. My project uses .net v4.8.1 framework.
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

✅ Authorize() Attribute is not working (SOLVED)
C#CC# / help
3y ago
TextBlocks Not Filling Available Space
C#CC# / help
9mo ago
❔ Why "Chart" is not available ?
C#CC# / help
3y ago
❔ Custom validation attribute not displaying validation message
C#CC# / help
4y ago