Skip to content

Commit

Permalink
fix(net8): Ensure that roslyn generators can be used when `LangVersio…
Browse files Browse the repository at this point in the history
…n` is empty
  • Loading branch information
jeromelaban committed Jul 12, 2023
1 parent 63134da commit 722ad06
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
Or '$(LangVersion)' == 'latest'
Or '$(LangVersion)' == 'latestMajor'
Or '$(LangVersion)' == 'default'
Or (
'$(LangVersion)' == ''
and '$(BundledNETCoreAppTargetFrameworkVersion)' != ''
and '$(BundledNETCoreAppTargetFrameworkVersion)' >= '8.0'
)
Or (
'$(LangVersion)'!=''
and '$(LangVersion)' > '9.0'
Expand Down

0 comments on commit 722ad06

Please sign in to comment.