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

Use NETCoreSdkVersion to determine which CSharpier tool version to use during builds #1034

Conversation

Cjewett
Copy link
Contributor

@Cjewett Cjewett commented Nov 21, 2023

Relevant issues:
#1027
#1022
#1019

Instead of using the current TargetFramework that is being built as part of the MSBuild process we use the SDK version that the MSBuild process is using to determine which version of the CSharpier dotnet tool we should use.

The goal is to allow those who only keep one version of an SDK and runtime installed on their machine the ability to use CSharpier in a more reliable manner.

@Cjewett
Copy link
Contributor Author

Cjewett commented Nov 21, 2023

@belav It won't let me assign this so pinging you instead. I tested by pinning repositories SDK version using global.json and deleting SDKs off of my machine then reinstalling. The end goal is the dotnet tool chosen should be the latest version the SDK supports.

Copy link
Collaborator

@shocklateboy92 shocklateboy92 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants