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

chore: Migrate EXE's from .NET Core 3.1 to .NET 6.0 #833

Merged
merged 2 commits into from
Nov 9, 2022

Conversation

DaveTryon
Copy link
Contributor

@DaveTryon DaveTryon commented Nov 8, 2022

Details

As called out in this blog post, .NET Core 3.1 ends LTS on 13 December 2022, which is coming up quickly. Some of our .NET dependencies are dropping support for .NET Core 3.1, so in order to stay on current binaries, we are shifting our EXE's to .NET 6.0. This includes the CLI and all test projects. The libraries in the NuGet package will continue to build using .NET Standard 2.0, so they'll continue to work in either .NET or .NET Framework applications. They will also continue to be Windows-specific, which makes sense since UIA is a Windows-specific technology.

Validation included:

  1. Run changes through the signed build pipeline. Artifacts are here
  2. Install and run the signed CLI (using the MSI installer)
  3. Using a local package store, update AIWin to use the signed NuGet package and make sure that it still works as expected
Motivation

Avoid the situation where we depend on libraries that are out of support or untested in our install environment.

Context

This and #834 both involve the WXS file. Some merge resolution will be needed, no matter what order we merge.

Pull request checklist

  • [n/a] Addresses an existing issue:

@DaveTryon DaveTryon requested a review from a team as a code owner November 8, 2022 22:23
@DaveTryon DaveTryon added the pr: DO NOT MERGE Dont merge this PR. label Nov 8, 2022
@DaveTryon DaveTryon changed the title Experiment: Target .NET 6.0 chore: Migrate EXE's from .NET Core 3.1 to .NET 6.0 Nov 9, 2022
@DaveTryon DaveTryon removed the pr: DO NOT MERGE Dont merge this PR. label Nov 9, 2022
@DaveTryon DaveTryon merged commit b45fc4e into main Nov 9, 2022
@DaveTryon DaveTryon deleted the DaveTryon/target-dotnet-6.0 branch November 9, 2022 21:32
DaveTryon added a commit that referenced this pull request Nov 16, 2022
#### Details

When #833 changed the CLI to target .NET 6.0, it changed the path of the
locally-built CLI, which (in turn) broke the validation script. This
just fixes the validation script and makes the displayed instructions a
little bit clearer.

##### Motivation

Validation scripts should work

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue:
DaveTryon added a commit that referenced this pull request Nov 16, 2023
#### Details

#833 updated the CLI from .NET Core 3.1 to .NET 6.0 because .NET Core
3.1 had reached its end of life. Unfortunately, the error message that
tells the user the minimum version was not updated. This PR simply
corrects that omission and tells the user to install .NET 6.0 or newer.

##### Motivation

Usability

##### Context

<!-- Are there any parts that you've intentionally left out-of-scope for
a later PR to handle? -->
The CLI no longer supports Windows 7. This is tracked at #980 and not
addressed here.

<!-- Were there any alternative approaches you considered? What
tradeoffs did you consider? -->

#### Pull request checklist
<!-- If a checklist item is not applicable to this change, write "n/a"
in the checkbox -->
- [n/a] Addresses an existing issue
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 this pull request may close these issues.

2 participants