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

351
Views
Can I still compile code requiring .net 4.0 developper pack?

I am trying to compile an old program, I downloaded the source code, It was a bunch of .cs files. When I opened it up in VSStudio, and tried to compile it, i got this error:

The reference assemblies for .NETFramework,Version=v4.0 were not found. To resolve this, install the Developer Pack (SDK/Targeting Pack) for this framework version or retarget your application. You can download .NET Framework Developer Packs at https://aka.ms/msbuild/developerpacks

After doing some research, some have had sucess compiling this on an older version of visual studio. I am going to try that now,

But does anyone know if i can still even compile this code anymore?

Compiling in VisualStudio 2022 with .NET 4.8

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

You can see from this page:

Starting with Visual Studio 2022, Visual Studio no longer includes .NET Framework components for .NET Framework 4.0 - 4.5.1 because these versions are no longer supported. Visual Studio 2022 and later versions can't build apps that target .NET Framework 4.0 through .NET Framework 4.5.1. To continue building these apps, you can use Visual Studio 2019 or an earlier version.

You can refer to this page to migrate earlier versions of .NET Framework to .NET Framework 4.8. https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/

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!