C#
C#

help

Root Question Message

thinker227
thinker22710/29/2022
Things require preview features... despite having enabled preview features [Answered]

I'm getting an error saying that a type requires opting into preview features because it's from an assembly which has preview features enabled, yet I've also enabled preview features in the current assembly. This doesn't make any sense. I've enabled <EnablePreviewFeatures>true</EnablePreviewFeatures> in the csproj but the errors still appear.
thinker227
thinker22710/29/2022
And the target framework is .NET 6
Ero
Ero10/29/2022
Maybe <LangVersion/> set to preview?
thinker227
thinker22710/29/2022
That... seems to have fixed it
thinker227
thinker22710/29/2022
Makes sense I suppose
ContactFrequently Asked QuestionsJoin The DiscordBugs & Feature RequestsTerms & Privacy