4 Replies
Go into your .csproj file and add
<LangVersion>11</LangVersion>
to the topmost PropertyGroup
Although judging by your language version being 7.4, you're probably using Framework, in which case you should update .NET 7.you can use a higher c# version than your target runtime officially supports, but some features will not work
so generally you upgrade your target runtime
That's a big jump in version, spanning a large change in the framework as well
It's likely you'd need to upgrade everything with Upgrade Assistant and some manual fixes
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.
Was this issue resolved? If so, run /close
- otherwise I will mark this as stale and this post will be archived until there is new activity.