Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

164
Views
What are the consequences of upgrading my .NET analyzer's target framework to .NET 5.0?

I have been writing an analyzer and using .NET Standard 2.0 so that I could target .NET Framework 4.7.2, which I was using in the VSIX version of the analyzer. Soon however I chose to drop it as supporting it was not beneficial. Ever since I have wanted to upgrade the supported framework to .NET 5.0 to also get the new language features along the path.

How would that affect the end users that would include the analyzer to their projects through the released NuGet package? Should I also keep supporting the older framework versions?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can't use anything other than .NET Standard 2.0, because VS runs under .Net Framework 4.* and the csc Roslyn compiler runs under .Net 5/6. The common ground is .NET Standard 2.0, nothing else will work.

This is still the case with VS 2022, it is still a .Net Framework application, the only difference is that it's now a 64-bit process, which means that your analyzer needs to be Any CPU to work in both.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!