SqlProj file fails to build (Invalid nullable value 'Enable' for C# 7.3 Use 8.0) when trying to use Directory.Build.props file in solution #682
Unanswered
Justin Adler (PureKrome)
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
👋🏻 Hi folks,
Not sure if this is a bug or a skill issue (e.g. i'm crap).
I'm add a
Directory.Build.propsfile to the root directory in my solution/repo. Works great against my other projects but this single DB project is failing with:08630: Invalid 'nullable' value: 'Enable' for C# 7.3. Please use language version '8.0' or greater.I've tried to be 'smart' with my
D.B.propsfile:but it still errors.
I also tried to converting the old-style
.sqlprojto the new SDK style project but I get a similar issue/error. (targetting<Sdk Name="Microsoft.Build.Sql" Version="1.0.0" />Is this a known problem?
All reactions