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

Added instructions for targeting .Net 6 in .csproj file #24

Closed
wants to merge 1 commit into from

Conversation

rabadashTheFool
Copy link
Contributor

Added instructions for targeting .Net 6 in .csproj file

Signed-off-by: Mihkel Kivisild [email protected]

@rabadashTheFool rabadashTheFool marked this pull request as ready for review July 1, 2024 09:12

<PackageReference Include="Microsoft.Identity.Web" Version="2.20.0" />
<PackageReference Include="Microsoft.Identity.Web.UI" Version="2.20.0" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.21.0" />
Copy link
Member

Choose a reason for hiding this comment

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

Do you know why we need some VS Azure container tool APIs?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we do not need them. Removing them did not stop the build from succeeding.
It might be something that Microsoft added to their Asp .Net template, since this has been there since the first version of the project file.

Copy link
Member

@mrts mrts Jul 9, 2024

Choose a reason for hiding this comment

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

Right, got it. Let's remove everything that is not strictly needed when we update the authtoken validation library to the new upcoming version.

Copy link
Contributor Author

@rabadashTheFool rabadashTheFool Jul 15, 2024

Choose a reason for hiding this comment

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

I researched a bit more. Initially it seems it is not required, however if the developer wants to use Docker related tools within Visual Studio, then it will not work without it. It is added by default when creating a new project and selecting "Enable container support".
Dockerizing with CLI tools works regardless.

@rabadashTheFool
Copy link
Contributor Author

I think we can close this pull request, since we are not endorsing, and do not aspire to do so, using .Net 6.

@rabadashTheFool rabadashTheFool deleted the target-net6 branch July 9, 2024 06:28
@rabadashTheFool
Copy link
Contributor Author

Only needed for testers. There is no valid reason for adding it into the repository itself, especially as .Net 6 EOL is nearing.

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