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: removing some warnings #275

Merged
merged 2 commits into from
Jun 18, 2024
Merged

chore: removing some warnings #275

merged 2 commits into from
Jun 18, 2024

Conversation

phmonte
Copy link
Owner

@phmonte phmonte commented May 25, 2024

🚀 Pull Request Template

Description

The objective is to clean up the project by resolving most of the warnings, it's a long job, I'm trying to solve it in parts, I've been trying to do it in a single PR for a few days, but apparently it won't be possible, we have too many.

Next steps:
Evaluate other warnings.

@@ -100,7 +96,7 @@ private void ProjectStarted(object sender, ProjectStartedEventArgs e)

// Get the TFM for this project
// use an empty string if no target framework was found, for example in case of C++ projects with VS >= 2022
var tfm = propertiesAndItems?.Properties.TryGet("TargetFrameworkMoniker")?.StringValue
string tfm = propertiesAndItems?.Properties.TryGet("TargetFrameworkMoniker")?.StringValue
Copy link
Contributor

Choose a reason for hiding this comment

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

I thought var was okay now? Or is it this particular line where you want string instead?

Copy link
Owner Author

Choose a reason for hiding this comment

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

var is ok, I removed the warning in the config editor too.

@phmonte phmonte merged commit 4f82a29 into main Jun 18, 2024
6 checks passed
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