-
Notifications
You must be signed in to change notification settings - Fork 74
Build with the .NET 6 SDK #605
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| <Project ToolsVersion="15.0"> | ||
| <PropertyGroup> | ||
| <TreatWarningsAsErrors>true</TreatWarningsAsErrors> | ||
| <MSBuildTreatWarningsAsErrors>true</MSBuildTreatWarningsAsErrors> | ||
| <MSBuildTreatWarningsAsErrors>false</MSBuildTreatWarningsAsErrors> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. disabled this for now, as there are warnings about .NET 5 being unsupported
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. but isn't this PR upgrading from v5 to v6? then this warning should be gone in this PR |
||
| <IsPackable>false</IsPackable> | ||
| <PublishRepositoryUrl>true</PublishRepositoryUrl> | ||
| <EmbedUntrackedSources>true</EmbedUntrackedSources> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,6 @@ | ||
| { | ||
| "sdk": { | ||
| "version": "5.0.202" | ||
| "version": "6.0.416", | ||
| "rollForward": "patch" | ||
| } | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -116,7 +116,7 @@ let private runner (args: AstNodeRuleParams) = | |
| | SynPat.Named (_, id, _, _, _) -> checkExpr app (Some id.idText) | ||
| | _ -> checkExpr app None) | ||
| | _ -> Array.empty | ||
| | _ -> Array.empty | ||
| // | _ -> Array.empty | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The newer sdks have this warning here (which cause a build failure due to WarningsAsErrors being enabled) |
||
|
|
||
| match args.AstNode with | ||
| | AstNode.Expression expr -> checkExpr expr None | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -229,7 +229,7 @@ let f() = | |
| let code = $"""Module Program | ||
| let f() = | ||
| let g() = | ||
| {(makeMatchSnippet (MaxComplexity+1)) |> indent 8} | ||
| {(makeMatchSnippet (MaxComplexity+1)) |> indent 8} | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The newer SDKs have this warning here |
||
| let h() = | ||
| {makeMatchSnippet MaxComplexity |> indent 8} | ||
| {makeMatchSnippet (MaxComplexity+1) |> indent 4}""" | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Numpsy why not upgrade from v5 to v6 everywhere? (specifically, am wondering why you left 5.0.x in L15)