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

Conditionally Target NET 9 #2739

Merged
merged 22 commits into from
Apr 5, 2024
Merged

Conditionally Target NET 9 #2739

merged 22 commits into from
Apr 5, 2024

Conversation

FuPingFranco
Copy link
Contributor

@FuPingFranco FuPingFranco commented Apr 1, 2024

Add a net 9 target to Id Web with conditional compilation.

Successful Builds:

TargetNet9 = True (https://identitydivision.visualstudio.com/IDDP/_build/results?buildId=1281414&view=results)

TargetNet9 = False (https://identitydivision.visualstudio.com/IDDP/_build/results?buildId=1281375&view=results)

@FuPingFranco FuPingFranco changed the title [Do Not Merge] Test Github Action with Net 9 Conditionally Target NET 9 Apr 2, 2024
@FuPingFranco FuPingFranco marked this pull request as ready for review April 2, 2024 21:35
@FuPingFranco FuPingFranco linked an issue Apr 2, 2024 that may be closed by this pull request
Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no Net9 target for Microsoft.Identity.Web.UI

.github/workflows/dotnetcore.yml Outdated Show resolved Hide resolved
Directory.Build.props Outdated Show resolved Hide resolved
Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

after addressing the comments, please run this command:
dotnet msbuild .\Microsoft.Identity.Web.sln -p:v=m and see if things are looking good.

@FuPingFranco
Copy link
Contributor Author

FuPingFranco commented Apr 4, 2024

successful compilation

@jennyf19 , I can only run msbuild Microsoft.Identity.Web.sln /p:v=m /p:TargetNet9=True at the moment since using dotnet bring the OWIN apps error. I ran the msbuild command and everything looks fine. I got a warning that I will address on a separate PR but not an issue to complete this PR.

Copy link
Collaborator

@jennyf19 jennyf19 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

Directory.Build.props Outdated Show resolved Hide resolved
Copy link
Collaborator

@jmprieur jmprieur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I left a few questions.

Directory.Build.props Outdated Show resolved Hide resolved
@FuPingFranco FuPingFranco dismissed jmprieur’s stale review April 5, 2024 23:28

Addressed by adding NET 9 target in Microsoft.Identity.Web.UI

@FuPingFranco FuPingFranco merged commit e82a525 into master Apr 5, 2024
5 checks passed
@FuPingFranco FuPingFranco deleted the francofung/TryTargetNet9 branch April 5, 2024 23:29
@FuPingFranco FuPingFranco self-assigned this May 30, 2024
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.

[Feature Request] conditionally target .NET9-preview
6 participants