Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specify required LangVersion #26

Closed
jnyrup opened this issue Nov 24, 2024 · 1 comment · Fixed by #32
Closed

Specify required LangVersion #26

jnyrup opened this issue Nov 24, 2024 · 1 comment · Fixed by #32

Comments

@jnyrup
Copy link
Contributor

jnyrup commented Nov 24, 2024

This project currently requires the consuming project to be using at least C# 12.0 since Reflectify uses C# 12.0 features and is distributed as source.
You might want to specify that requirement somewhere or for maximum compatibility use at most C# 7.3 features, since that's what's a default net47 project uses.

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>net47</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Reflectify" Version="1.3.0" />
  </ItemGroup>

</Project>

image

@dennisdoomen
Copy link
Owner

Since it's pretty easy to use C# 12 with .NET Framework 4.7, I'd rather go for a documentation update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants