Closed DanAvni closed 12 months ago
Trying to use V7.1 I came across this issue My function below is not compiling with error CS8370 Feature 'init-only setters' is not available in C# 7.3. Please use language version 9.0 or greater. My project is a netstandards 2 project.
`
private static StringTokenFormatterSettings GetSettings() { return new StringTokenFormatterSettings() { InvalidFormatBehavior = InvalidFormatBehavior.LeaveUnformatted, UnresolvedTokenBehavior = UnresolvedTokenBehavior.LeaveUnresolved, TokenResolutionPolicy = TokenResolutionPolicy.ResolveAll }; }
Any ideas?
Sorry I didn't see that V7.1 is only .NET Framework 4.8 and .NET 6 compatible.
Trying to use V7.1 I came across this issue My function below is not compiling with error CS8370 Feature 'init-only setters' is not available in C# 7.3. Please use language version 9.0 or greater. My project is a netstandards 2 project.
`
`
Any ideas?